Ejemplo n.º 1
0
 /// <summary>
 /// Write log
 /// </summary>
 /// <param name="logLevel"></param>
 /// <param name="state"></param>
 /// <param name="exception"></param>
 public void Log(NHibernateLogLevel logLevel, NHibernateLogValues state, Exception exception)
 {
     _logger.Log(LogLevelSwitcher.Switch(logLevel), exception, state.ToString());
 }
Ejemplo n.º 2
0
 public override void Log(NHibernateLogLevel logLevel, NHibernateLogValues state, Exception exception)
 {
     LogMessage(state.ToString(), state.Format, state.Args);
 }