Example #1
0
 /// <summary>
 /// Logs the specified inmessageion.
 /// </summary>
 /// <param name="callInfo">The call inmessageion.</param>
 /// <param name="errorLevel">The error level.</param>
 /// <param name="message">Message to log.</param>
 private void Log(CallInfo callInfo, ErrorLevel errorLevel, string message)
 {
     this.streamWriter.WriteLine(string.Format("{0} - {1} - {2}", callInfo.ToString(), errorLevel.ToString(), message));
 }
Example #2
0
 /// <summary>
 /// Logs the verbose.
 /// </summary>
 /// <param name="callInfo">Caller inmessageion.</param>
 /// <param name="message">The message to log.</param>
 public void LogVerbose(CallInfo callInfo, string message)
 {
     this.Log(callInfo, ErrorLevel.Verbose, message);
 }
Example #3
0
 /// <summary>
 /// Logs the warning.
 /// </summary>
 /// <param name="callInfo">Caller inmessageion.</param>
 /// <param name="message">The message to log.</param>
 public void LogWarning(CallInfo callInfo, string message)
 {
     this.Log(callInfo, ErrorLevel.Warning, message);
 }
Example #4
0
 /// <summary>
 /// Logs the inmessageion.
 /// </summary>
 /// <param name="callInfo">Caller inmessageion.</param>
 /// <param name="message">The message to log.</param>
 public void LogInfo(CallInfo callInfo, string message)
 {
     this.Log(callInfo, ErrorLevel.Info, message);
 }