示例#1
0
 public void Log(InternalTraceLevel level, string message)
 {
     if (InternalTrace.Level >= level)
     {
         InternalTrace.Log(level, message, Name);
     }
 }
示例#2
0
 public void Log(string message, Exception ex)
 {
     if (InternalTrace.Level >= InternalTraceLevel.Error)
     {
         InternalTrace.Log(InternalTraceLevel.Error, message, Name, ex);
     }
 }