public void Warn(Exception exception, string message) { try { if (TracingLevel.CanLogWarn(this)) { WriteLog(TracingLevel.Warn, message, exception); } } catch (Exception ex) { Trace.Write(ex); } }
public void WarnFmtEx(Exception exception, string message, params object[] args) { try { if (TracingLevel.CanLogWarn(this)) { WriteLog(TracingLevel.Warn, string.Format(message, args), exception); } } catch (Exception ex) { Trace.Write(ex); } }
public void Warn(string from, string to, string callId, string cseq, string message) { try { if (TracingLevel.CanLogWarn(this)) { WriteLog(TracingLevel.Warn, message, from, to, callId, cseq); } } catch (Exception ex) { Trace.Write(ex); } }