public static void WriteLine( string text = null, [CallerMemberName] string member = "", [CallerFilePath] string file = "", [CallerLineNumber] int line = 0) { Trace.WriteLine(ThreadDebug.MakeMessage(text, member, file, line)); }
public static void WriteException( Exception exception, bool withStackTrace = false, [CallerMemberName] string member = "", [CallerFilePath] string file = "", [CallerLineNumber] int line = 0) { WriteLine( ThreadDebug.MakeExceptionText(exception, withStackTrace), member, file, line); }