File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 77using RLBotCS . Server . BridgeMessage ;
88using RLBotCS . Server . ServerMessage ;
99
10- #if WINDOWS
11- WinTermColor . EnableVirtualTerminal ( ) ;
12- #endif
13-
1410if ( args . Length > 0 && args [ 0 ] == "--version" )
1511{
1612 Console . WriteLine (
17- $ " { Logging . Yellow } RLBotServer { Logging . Green } v5.beta.7.5\n "
18- + $ "{ Logging . Yellow } Bridge { Logging . Green } { BridgeVersion . Version } { Logging . Reset } \n "
19- + $ "@ { Logging . LightBlue } https://www.rlbot.org{ Logging . Reset } & { Logging . LightBlue } https://github.com/RLBot/core{ Logging . Reset } "
13+ " RLBotServer v5.beta.7.5\n "
14+ + $ "Bridge { BridgeVersion . Version } \n "
15+ + "@ https://www.rlbot.org & https://github.com/RLBot/core"
2016 ) ;
2117 Environment . Exit ( 0 ) ;
2218}
2319
20+ #if WINDOWS
21+ WinTermColor . EnableVirtualTerminal ( ) ;
22+ #endif
23+
2424var logger = Logging . GetLogger ( "Main" ) ;
2525
2626int rlbotSocketsPort ;
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ namespace RLBotCS.ManagerTools;
55
66public class Logging : ILogger
77{
8- public const string Grey = "\x1b [38;20m" ;
9- public const string LightBlue = "\x1b [94;20m" ;
10- public const string Yellow = "\x1b [33;20m" ;
11- public const string Green = "\x1b [32;20m" ;
12- public const string Red = "\x1b [31;20m" ;
13- public const string BoldRed = "\x1b [31;1m" ;
14- public const string Reset = "\x1b [0m" ;
8+ private const string Grey = "\x1b [38;20m" ;
9+ private const string LightBlue = "\x1b [94;20m" ;
10+ private const string Yellow = "\x1b [33;20m" ;
11+ private const string Green = "\x1b [32;20m" ;
12+ private const string Red = "\x1b [31;20m" ;
13+ private const string BoldRed = "\x1b [31;1m" ;
14+ private const string Reset = "\x1b [0m" ;
1515
1616 private static readonly LogLevel LoggingLevel = Environment . GetEnvironmentVariable (
1717 "RLBOT_LOG_LEVEL"
You can’t perform that action at this time.
0 commit comments