/// <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)); }
/// <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); }
/// <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); }
/// <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); }