Skip to content

Commit af31165

Browse files
Document setting the logger factory programmatically
1 parent a407afb commit af31165

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/reference/modules/configuration.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,10 @@ in the parameter binding.</programlisting>
11351135
configuration file, nor supplied by using <literal>Configuration.SetProperties</literal>, nor
11361136
set in the <literal>hibernate.cfg.xml</literal> configuration file.
11371137
</para>
1138+
<para>
1139+
Alternatively to using the setting, a logger factory can be programmatically supplied by using
1140+
<literal>NHibernateLogger.SetLoggersFactory</literal>.
1141+
</para>
11381142
<para>
11391143
<emphasis role="strong">eg.</emphasis>
11401144
<literal>classname.of.LoggerFactory, assembly</literal>

0 commit comments

Comments
 (0)