예제 #1
0
 /// <inheritdoc />
 public IDisposable BeginScope <TState>(TState state)
 {
     if (state == null)
     {
         throw new ArgumentNullException(nameof(state));
     }
     return(LoggingScope.Push(StateNamespace, state));
 }
 public IDisposable BeginScope <TState>(TState state)
 {
     return(LoggingScope.Push(state));
 }