mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add logging of color codes (#1811)
This commit is contained in:
parent
6928cd40fd
commit
4ba09754de
3 changed files with 5 additions and 1 deletions
|
|
@ -116,6 +116,7 @@ namespace MinecraftClient
|
|||
public static bool LogToFile = false;
|
||||
public static string LogFile = "console-log.txt";
|
||||
public static bool PrependTimestamp = false;
|
||||
public static bool SaveColorCodes = false;
|
||||
|
||||
//AntiAFK Settings
|
||||
public static bool AntiAFK_Enabled = false;
|
||||
|
|
@ -502,6 +503,7 @@ namespace MinecraftClient
|
|||
case "logtofile": LogToFile = str2bool(argValue); return true;
|
||||
case "logfile": LogFile = argValue; return true;
|
||||
case "prependtimestamp": PrependTimestamp = str2bool(argValue); return true;
|
||||
case "savecolorcodes": SaveColorCodes = str2bool(argValue); return true;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue