From 86549f5453d62618eafb10eff4b766f391e04848 Mon Sep 17 00:00:00 2001 From: ghorsington Date: Wed, 22 Dec 2021 17:01:41 +0200 Subject: [PATCH] BepInExLogInterpolatedStringHandler: Fix typo --- BepInEx.Core/Logging/BepInExLogInterpolatedStringHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BepInEx.Core/Logging/BepInExLogInterpolatedStringHandler.cs b/BepInEx.Core/Logging/BepInExLogInterpolatedStringHandler.cs index c5620df..9486a32 100644 --- a/BepInEx.Core/Logging/BepInExLogInterpolatedStringHandler.cs +++ b/BepInEx.Core/Logging/BepInExLogInterpolatedStringHandler.cs @@ -35,7 +35,7 @@ public class BepInExLogInterpolatedStringHandler 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; }