コード例 #1
0
ファイル: TracingImpl.cs プロジェクト: thachgiasoft/Tempsen
 public void ErrorFmtEx(Exception exception, string message, params object[] args)
 {
     try {
         if (TracingLevel.CanLogError(this))
         {
             WriteLog(TracingLevel.Error, string.Format(message, args), exception);
         }
     } catch (Exception ex) {
         Trace.Write(ex);
     }
 }
コード例 #2
0
ファイル: TracingImpl.cs プロジェクト: thachgiasoft/Tempsen
 public void Error(Exception exception, string message)
 {
     try {
         if (TracingLevel.CanLogError(this))
         {
             WriteLog(TracingLevel.Error, message, exception);
         }
     } catch (Exception ex) {
         Trace.Write(ex);
     }
 }