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