Beispiel #1
0
 public void ConsoleOut(string text)
 {
     if (LogOptions.EnableConsoleOut)
     {
         OnConsoleOut?.Invoke(text);
     }
 }
Beispiel #2
0
 public override void WriteLine(string str)
 {
     OnConsoleOut?.Invoke(this, str + "\n");
     base.WriteLine(str);
 }
Beispiel #3
0
 protected void OnConsoleOutm(string msg) => OnConsoleOut?.Invoke(msg);
Beispiel #4
0
 public override void Write(char str)
 {
     OnConsoleOut?.Invoke(this, "" + str);
     base.Write(str);
 }