示例#1
0
 public void Trace(string message)
 {
     if (IsTraceEnabled)
     {
         Logger.Log(DeclaringType, Level.Trace, message, null);
     }
 }
示例#2
0
 public void Debug(string message)
 {
     if (IsDebugEnabled)
     {
         _logger.Log(DeclaringType, Level.Debug, message, null);
     }
 }