Пример #1
0
 public static void LogException(Exception ex)
 {
     Instance.LogException(
         FormatString.FormatExceptionString(ex, new StackTrace().GetFrame(1).GetMethod().Name));
 }
Пример #2
0
 public static void LogException <T>(Exception ex, string methodName)
 {
     Instance.LogException(FormatString.FormatExceptionString <T>(ex, methodName));
 }
Пример #3
0
 public static void LogMessage(string message, string methodName)
 {
     Debug.WriteLine(FormatString.FormatMessage(message, methodName));
 }