Update Logger.cs
This commit is contained in:
parent
084a8ab0c1
commit
31b9accb3b
1 changed files with 3 additions and 3 deletions
|
|
@ -4,13 +4,13 @@ namespace LightReflectiveMirror.Debug
|
|||
{
|
||||
public static class Logger
|
||||
{
|
||||
private static LogConfiguration conf;
|
||||
private static LogConfiguration _conf;
|
||||
|
||||
public static void ConfigureLogger(LogConfiguration config) => conf = config;
|
||||
public static void ConfigureLogger(LogConfiguration config) => _conf = config;
|
||||
|
||||
public static void WriteLogMessage(string message, ConsoleColor color = ConsoleColor.White, bool oneLine = false)
|
||||
{
|
||||
if(!conf.sendLogs) { return; }
|
||||
if(!_conf.sendLogs) { return; }
|
||||
|
||||
Console.ForegroundColor = color;
|
||||
if (oneLine)
|
||||
|
|
|
|||
Loading…
Reference in a new issue