diff --git a/src/dotnetCampus.Logger/Bridges/BridgeLogger.g.cs b/src/dotnetCampus.Logger/Bridges/BridgeLogger.g.cs index 78ab3a9..64013fb 100644 --- a/src/dotnetCampus.Logger/Bridges/BridgeLogger.g.cs +++ b/src/dotnetCampus.Logger/Bridges/BridgeLogger.g.cs @@ -12,7 +12,13 @@ internal class BridgeLogger : ILogger { public bool IsEnabled(LogLevel logLevel) { - throw new NotImplementedException(); + return +#if NETCOREAPP3_0_OR_GREATER + ILoggerBridge +#else + LoggerBridgeLinker +#endif + .Bridge?.IsEnabled((int)logLevel) ?? false; } ///