Example #1
0
 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();
 }
Example #2
0
 public void Debug(Exception exception, params string[] message)
 {
     if (IsDebugEnabled())
     {
         LogManager.GetLogger(typeof(TType)).Debug(LogFormatter.BuildMessageFromParams(message), exception);
     }
 }
Example #3
0
 public void Fatal(Exception exception, params string[] message)
 {
     LogManager.GetLogger(typeof(TType)).Fatal(LogFormatter.BuildMessageFromParams(message), exception);
 }
Example #4
0
 public void Error(params string[] message)
 {
     LogManager.GetLogger(typeof(TType)).Error(LogFormatter.BuildMessageFromParams(message));
 }
Example #5
0
 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();
 }