Skip to content

Commit

Permalink
Fixed log level issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lajos88 committed Sep 9, 2019
1 parent 75af790 commit 5964e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigCatClient/Logging/LoggerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/// <summary>
Expand Down

0 comments on commit 5964e99

Please sign in to comment.