/// <summary> /// Writes the log exception. /// </summary> /// <param name="owner">The owner.</param> /// <param name="ex">The ex.</param> public static void WriteLogException(this DisposableObjectLogger owner, Exception ex) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(ex); }
/// <summary> /// Writes the raw message. /// </summary> /// <param name="owner">The owner.</param> /// <param name="message">The message.</param> public static void WriteLogRawMessage(this DisposableObjectLogger owner, string message) { if (owner.Logger == null) { return; } owner.Logger.WriteLogRawMessage(message); }
/// <summary> /// Writes the log exception. /// </summary> /// <param name="owner">The owner.</param> /// <param name="procedureName">Name of the procedure.</param> /// <param name="ex">The ex.</param> public static void WriteLogException(this DisposableObjectLogger owner, string procedureName, Exception ex) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(procedureName, ex); }
/// <summary> /// Writes the log exception. /// </summary> /// <param name="owner">The owner.</param> /// <param name="proc">Module procedure name.</param> /// <param name="message">The message.</param> public static void WriteLogException(this DisposableObjectLogger owner, ModuleProc proc, string message) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(proc, message); }
/// <summary> /// Writes the log exception. /// </summary> /// <param name="owner">The owner.</param> /// <param name="moduleName">Name of the module.</param> /// <param name="procedureName">Name of the procedure.</param> /// <param name="ex">The ex.</param> /// <param name="extra">The extra.</param> public static void WriteLogException(this DisposableObjectLogger owner, string moduleName, string procedureName, Exception ex, object extra) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(moduleName, procedureName, ex, extra); }
/// <summary> /// Writes the log warning. /// </summary> /// <param name="owner">The owner.</param> /// <param name="procedureName">Name of the procedure.</param> /// <param name="message">The message.</param> public static void WriteLogWarning(this DisposableObjectLogger owner, string procedureName, string message) { if (owner.Logger == null) { return; } owner.Logger.WriteLogWarning(procedureName, message); }
/// <summary> /// Writes the log error. /// </summary> /// <param name="owner">The owner.</param> /// <param name="moduleName">Name of the module.</param> /// <param name="procedureName">Name of the procedure.</param> /// <param name="message">The message.</param> /// <param name="extra">The extra.</param> public static void WriteLogError(this DisposableObjectLogger owner, string moduleName, string procedureName, string message, object extra) { if (owner.Logger == null) { return; } owner.Logger.WriteLogError(moduleName, procedureName, message, extra); }
/// <summary> /// Writes the log exception. /// </summary> /// <param name="owner">The owner.</param> /// <param name="methodBase">The method base.</param> /// <param name="ex">The ex.</param> /// <param name="extra">The extra.</param> public static void WriteLogException(this DisposableObjectLogger owner, MethodBase methodBase, Exception ex, object extra) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(methodBase, ex, extra); }
/// <summary> /// Writes the log warning. /// </summary> /// <param name="owner">The owner.</param> /// <param name="methodBase">The method base.</param> /// <param name="message">The message.</param> /// <param name="extra">The extra.</param> public static void WriteLogWarning(this DisposableObjectLogger owner, MethodBase methodBase, string message, object extra) { if (owner.Logger == null) { return; } owner.Logger.WriteLogWarning(methodBase, message, extra); }
/// <summary> /// Writes the log exception. /// </summary> /// <param name="owner">The owner.</param> /// <param name="methodBase">The method base.</param> /// <param name="message">The message.</param> public static void WriteLogException(this DisposableObjectLogger owner, MethodBase methodBase, string message) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(methodBase, message); }
/// <summary> /// Writes the log exception. /// </summary> /// <param name="message">The message.</param> /// <param name="extra">The extra.</param> public static void WriteLogException(this DisposableObjectLogger owner, string message, object extra) { if (owner.Logger == null) { return; } owner.Logger.WriteLogException(message, extra); }