From dfba4f0a0331d31da19ff4ccdd556f667516bd8e Mon Sep 17 00:00:00 2001 From: ghorsington Date: Sat, 13 Jun 2020 12:45:34 +0300 Subject: [PATCH] Rename DisplayedLogLevel to LogLevels to not cause upgrade issues --- BepInEx/Bootstrap/Chainloader.cs | 4 ++-- BepInEx/Logging/ConsoleLogListener.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BepInEx/Bootstrap/Chainloader.cs b/BepInEx/Bootstrap/Chainloader.cs index 0b5fc8e..c23b15d 100644 --- a/BepInEx/Bootstrap/Chainloader.cs +++ b/BepInEx/Bootstrap/Chainloader.cs @@ -427,9 +427,9 @@ namespace BepInEx.Bootstrap "Enables writing log messages to disk."); private static readonly ConfigEntry ConfigDiskConsoleDisplayedLevel = ConfigFile.CoreConfig.Bind( - "Logging.Disk", "DisplayedLogLevel", + "Logging.Disk", "LogLevels", LogLevel.Fatal | LogLevel.Error | LogLevel.Message | LogLevel.Info, - "Only displays the specified log levels in the disk log output."); + "Which log leves are saved to the disk log output."); #endregion } } \ No newline at end of file diff --git a/BepInEx/Logging/ConsoleLogListener.cs b/BepInEx/Logging/ConsoleLogListener.cs index 1c2fd3e..4bd041b 100644 --- a/BepInEx/Logging/ConsoleLogListener.cs +++ b/BepInEx/Logging/ConsoleLogListener.cs @@ -21,8 +21,8 @@ namespace BepInEx.Logging public void Dispose() { } private static readonly ConfigEntry ConfigConsoleDisplayedLevel = ConfigFile.CoreConfig.Bind( - "Logging.Console","DisplayedLogLevel", + "Logging.Console","LogLevels", LogLevel.Fatal | LogLevel.Error | LogLevel.Message | LogLevel.Info, - "Only displays the specified log levels in the console output."); + "Which log levels to show in the console output."); } } \ No newline at end of file