diff --git a/src/ConfigCatClient/Logging/LoggerBase.cs b/src/ConfigCatClient/Logging/LoggerBase.cs index 988ae2e7..13b13322 100644 --- a/src/ConfigCatClient/Logging/LoggerBase.cs +++ b/src/ConfigCatClient/Logging/LoggerBase.cs @@ -24,7 +24,7 @@ protected LoggerBase(string loggerName, LogLevel logLevel) private bool TargetLogEnabled(LogLevel targetTrace) { - return (byte)targetTrace >= (byte)this.logLevel; + return (byte)targetTrace <= (byte)this.logLevel; } ///