Exemple #1
0
            public void Log <TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func <TState, Exception, string> formatter)
            {
                object scope = LogScopesProvider.GetState();

                log($"{scope},{state}");
            }
Exemple #2
0
 public IDisposable BeginScope <TState>(TState state)
 {
     return(LogScopesProvider.CreateScope(state));
 }