I'm must  build a costum logger and I have added this line to 
nhibernate.cfg.xml (this a costumer requeriment: all NH entries must reside 
in nhibernate.cfg.xml):

<property name="nhibernate-logger">NHExtensions.Log.CustomLogger, 
MyAssembly</property>

But I get this exception at runtime:

The 'name' attribute is invalid - The value 'nhibernate-logger' is invalid 
according to its datatype 'String' - The Enumeration constraint failed.

How can I use "nhibernate-logger" in nhibernate.cfg.xml instead of 
app.config or web.config?

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to