Forráskód Böngészése

Rename DisplayedLogLevel to LogLevels to not cause upgrade issues

ghorsington 4 éve
szülő
commit
dfba4f0a03

+ 2 - 2
BepInEx/Bootstrap/Chainloader.cs

@@ -427,9 +427,9 @@ namespace BepInEx.Bootstrap
 			"Enables writing log messages to disk.");
 
 		private static readonly ConfigEntry<LogLevel> 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
 	}
 }

+ 2 - 2
BepInEx/Logging/ConsoleLogListener.cs

@@ -21,8 +21,8 @@ namespace BepInEx.Logging
 		public void Dispose() { }
 
 		private static readonly ConfigEntry<LogLevel> 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.");
 	}
 }