# Microsoft.Extensions.Logging.Debug ``` diff { namespace Microsoft.Extensions.Logging { public static class DebugLoggerFactoryExtensions { - public static ILoggerFactory AddDebug(this ILoggerFactory factory); - public static ILoggerFactory AddDebug(this ILoggerFactory factory, LogLevel minLevel); - public static ILoggerFactory AddDebug(this ILoggerFactory factory, Func filter); } } namespace Microsoft.Extensions.Logging.Debug { - public class DebugLogger : ILogger { { - public DebugLogger(string name); - public DebugLogger(string name, Func filter); - public IDisposable BeginScope(TState state); - public bool IsEnabled(LogLevel logLevel); - public void Log(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func formatter); - } public class DebugLoggerProvider : IDisposable, ILoggerProvider { - public DebugLoggerProvider(Func filter); } } } ```