예제 #1
0
 public ElmahLogWriter(ErrorLog log, ElmahLogLevels logLevels)
 {
     _log       = log;
     _logLevels = logLevels ?? new ElmahLogLevels()
     {
         IsDebugEnabled = true,
         IsErrorEnabled = true,
         IsFatalEnabled = true,
         IsInfoEnabled  = true,
         IsWarnEnabled  = true
     };
 }
예제 #2
0
 public ElmahLogWriter(ErrorLog log, ElmahLogLevels logLevels)
 {
     _log = log;
     _logLevels = logLevels ?? new ElmahLogLevels()
     {
         IsDebugEnabled = true,
         IsErrorEnabled = true,
         IsFatalEnabled = true,
         IsInfoEnabled = true,
         IsWarnEnabled = true
     };
 }
예제 #3
0
 public ElmahLogWriter(ElmahLogLevels logLevels)
     : this(ErrorLog.GetDefault(null), logLevels)
 {
 }
예제 #4
0
 public ElmahHostLoggerConfigurator(ElmahLogLevels logLevels)
 {
     _logLevels = logLevels;
 }
예제 #5
0
 public static void Use(ElmahLogLevels logLevels = null)
 {
     HostLogger.UseLogger(new ElmahHostLoggerConfigurator(logLevels));
 }
예제 #6
0
 private ElmahLogWriterFactory(ElmahLogLevels logLevels)
 {
     _logLevels = logLevels;
 }
예제 #7
0
 public ElmahLogWriter(ElmahLogLevels logLevels)
     : this(ErrorLog.GetDefault(null), logLevels)
 { }
예제 #8
0
 public ElmahHostLoggerConfigurator(ElmahLogLevels logLevels)
 {
     _logLevels = logLevels;
 }
예제 #9
0
 public static void Use(ElmahLogLevels logLevels = null)
 {
     HostLogger.UseLogger(new ElmahHostLoggerConfigurator(logLevels));
 }
예제 #10
0
 private ElmahLogWriterFactory(ElmahLogLevels logLevels)
 {
     _logLevels = logLevels;
 }