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