private void WriteToDebugWindow(string errorLelvelIndicatgor, string[] message, Exception exception) { System.Diagnostics.Debug.Indent(); System.Diagnostics.Debug.WriteLine(String.Concat(errorLelvelIndicatgor, LogFormatter.BuildMessageFromParams(message))); WriteExceptionDetails(exception); System.Diagnostics.Debug.Unindent(); }
public void Debug(Exception exception, params string[] message) { if (IsDebugEnabled()) { LogManager.GetLogger(typeof(TType)).Debug(LogFormatter.BuildMessageFromParams(message), exception); } }
public void Fatal(Exception exception, params string[] message) { LogManager.GetLogger(typeof(TType)).Fatal(LogFormatter.BuildMessageFromParams(message), exception); }
public void Error(params string[] message) { LogManager.GetLogger(typeof(TType)).Error(LogFormatter.BuildMessageFromParams(message)); }
private void WriteToDebugWindow(string errorLelvelIndicatgor, string[] message) { System.Diagnostics.Debug.Indent(); System.Diagnostics.Debug.WriteLine(String.Concat(errorLelvelIndicatgor, ThreadIdOrName(), LogFormatter.BuildMessageFromParams(message))); System.Diagnostics.Debug.Unindent(); }