Skip to content

Commit

Permalink
BepInExLogInterpolatedStringHandler: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Dec 22, 2021
1 parent 3fd5d68 commit 86549f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public BepInExLogInterpolatedStringHandler(int literalLength,
LogLevel logLevel,
out bool isEnabled)
{
Enabled = (logLevel & Logger.ListenedLogLevels) == LogLevel.None;
Enabled = (logLevel & Logger.ListenedLogLevels) != LogLevel.None;
isEnabled = Enabled;
sb = Enabled ? new StringBuilder(literalLength + formattedCount * GUESSED_LENGTH_PER_HOLE) : null;
}
Expand Down

0 comments on commit 86549f5

Please sign in to comment.