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