Implemented interface member:
method
Log<TState>
Microsoft.Extensions.Logging.ILogger.Log<TState>(Microsoft.Extensions.Logging.LogLevel, Microsoft.Extensions.Logging.EventId, TState, System.Exception, System.Func<TState, System.Exception, System.String>)
7 references to Log
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogRecord.cs (1)
26
/// <param name="enabled">Whether the log level was enabled or not when the <see cref="FakeLogger.
Log
"/> method was called.</param>
Microsoft.Extensions.Diagnostics.Testing.Tests (6)
Logging\FakeLoggerTests.cs (6)
71
logger.
Log
<int>(LogLevel.Error, new EventId(0), 42, null, (_, _) => "MESSAGE");
84
logger.
Log
(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing");
99
logger.
Log
<object?>(LogLevel.Error, new EventId(0), null, null, (_, _) => "MESSAGE");
113
logger.
Log
<object?>(LogLevel.Error, new EventId(0), null, null, (_, _) => "MESSAGE");
129
logger.
Log
(LogLevel.Error, new EventId(0), dt, null, (_, _) => "MESSAGE");
137
logger.
Log
(LogLevel.Debug, new EventId(1), l, null, (_, _) => "Nothing");