public void Log(string level, string message, Exception exception)
 {
     if (exception == null)
     {
         owner.Log(string.Format("{0} - {1}", level, message));
     }
     else
     {
         owner.LogException(exception);
     }
 }
Пример #2
0
 public static void Log(string message)
 {
     mainForm.Log(message);
 }