示例#1
0
文件: Logger.cs 项目: myoxuunt/yh
 public void Log(TraceLevel level, string message)
 {
     if (InternalTrace.Level >= level)
     {
         InternalTrace.Log(level, message, name);
     }
 }
示例#2
0
文件: Logger.cs 项目: myoxuunt/yh
 public void Error(string message, Exception ex)
 {
     if (InternalTrace.Level >= TraceLevel.Error)
     {
         InternalTrace.Log(TraceLevel.Error, message, name, ex);
     }
 }