Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }
Ejemplo n.º 3
0
 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);
     }
 }
Ejemplo n.º 4
0
 public void Info(Exception exception, string message)
 {
     try {
         if (TracingLevel.CanLogInfo(this))
         {
             WriteLog(TracingLevel.Info, message, exception);
         }
     } catch (Exception ex) {
         Trace.Write(ex);
     }
 }