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