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