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