예제 #1
0
 public LoggerScope(string loggerName, TState state, LogJamLoggerProvider provider)
 {
     _loggerName = loggerName;
     _state      = state;
     _provider   = provider;
 }
예제 #2
0
 internal LogJamLogger(string name, Func <string, LogLevel, bool> filter, LogJamLoggerProvider provider)
 {
     Name      = name ?? throw new ArgumentNullException(nameof(name));
     _provider = provider ?? throw new ArgumentNullException(nameof(provider));
     Filter    = filter;
 }