Microsoft.Extensions.Logging.Abstractions.NullLogger<T>
Minimalistic logger that does nothing.
namespace Microsoft.Extensions.Logging.Abstractions
{
public class NullLogger<[System.Runtime.CompilerServices.Nullable(2)] T> : ILogger<T>, ILogger
{
public static readonly NullLogger<T> Instance;
public IDisposable BeginScope<TState>(TState state);
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter);
public bool IsEnabled(LogLevel logLevel);
public NullLogger();
}
}