public ElmahLogWriter(ErrorLog log, ElmahLogLevels logLevels) { _log = log; _logLevels = logLevels ?? new ElmahLogLevels() { IsDebugEnabled = true, IsErrorEnabled = true, IsFatalEnabled = true, IsInfoEnabled = true, IsWarnEnabled = true }; }
public ElmahLogWriter(ElmahLogLevels logLevels) : this(ErrorLog.GetDefault(null), logLevels) { }
public ElmahHostLoggerConfigurator(ElmahLogLevels logLevels) { _logLevels = logLevels; }
public static void Use(ElmahLogLevels logLevels = null) { HostLogger.UseLogger(new ElmahHostLoggerConfigurator(logLevels)); }
private ElmahLogWriterFactory(ElmahLogLevels logLevels) { _logLevels = logLevels; }