Overhaul debug logging
Debug logging now provides ConsoleDebug and ILog has been updated to support the concept of debug logs. Debug logs are now controlled by config.json instead of by preprocessor debug flag.
This commit is contained in:
parent
19de422304
commit
b76d906c59
5 changed files with 68 additions and 14 deletions
|
|
@ -520,6 +520,9 @@ namespace TShockAPI
|
|||
[Description("Whether or not to show backup auto save messages.")]
|
||||
public bool ShowBackupAutosaveMessages = true;
|
||||
|
||||
[Description("Whether or not the server should output debug level messages related to system operation.")]
|
||||
public bool DebugLogs = false;
|
||||
|
||||
/// <summary>
|
||||
/// Reads a configuration file from a given path
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue