From 5964e992e0ac7d6a2185bcb7fe2c1f2024a6262d Mon Sep 17 00:00:00 2001 From: Lajos Date: Mon, 9 Sep 2019 15:09:46 +0200 Subject: [PATCH] Fixed log level issue --- src/ConfigCatClient/Logging/LoggerBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } ///