C# Class Common.Logging.MultipleLogger.MultiLogger

Multi logger logs an event to multiple loggers
Inheritance: ILog
Datei anzeigen Open project: net-commons/common-logging

Public Methods

Method Description
Debug ( Action formatMessageCallback ) : void

Log a message with the LogLevel.Debug level using a callback to obtain the message

Debug ( Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Debug level using a callback to obtain the message

Debug ( IFormatProvider formatProvider, Action formatMessageCallback ) : void

Log a message with the LogLevel.Debug level using a callback to obtain the message

Debug ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Debug level using a callback to obtain the message

Debug ( object message ) : void

Log a message object with the LogLevel.Debug level.

Debug ( object message, Exception exception ) : void

Log a message object with the LogLevel.Debug level including the stack trace of the Exception passed as a parameter.

DebugFormat ( IFormatProvider formatProvider, string format ) : void

Log a message with the LogLevel.Debug level.

DebugFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void

Log a message with the LogLevel.Debug level.

DebugFormat ( string format ) : void

Log a message with the LogLevel.Debug level.

DebugFormat ( string format, Exception exception ) : void

Log a message with the LogLevel.Debug level.

Error ( Action formatMessageCallback ) : void

Log a message with the LogLevel.Error level using a callback to obtain the message

Error ( Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Error level using a callback to obtain the message

Error ( IFormatProvider formatProvider, Action formatMessageCallback ) : void

Log a message with the LogLevel.Error level using a callback to obtain the message

Error ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Error level using a callback to obtain the message

Error ( object message ) : void

Log a message object with the LogLevel.Error level.

Error ( object message, Exception exception ) : void

Log a message object with the LogLevel.Error level including the stack trace of the Exception passed as a parameter.

ErrorFormat ( IFormatProvider formatProvider, string format ) : void

Log a message with the LogLevel.Error level.

ErrorFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void

Log a message with the LogLevel.Error level.

ErrorFormat ( string format ) : void

Log a message with the LogLevel.Error level.

ErrorFormat ( string format, Exception exception ) : void

Log a message with the LogLevel.Error level.

Fatal ( Action formatMessageCallback ) : void

Log a message with the LogLevel.Fatal level using a callback to obtain the message

Fatal ( Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Fatal level using a callback to obtain the message

Fatal ( IFormatProvider formatProvider, Action formatMessageCallback ) : void

Log a message with the LogLevel.Fatal level using a callback to obtain the message

Fatal ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Fatal level using a callback to obtain the message

Fatal ( object message ) : void

Log a message object with the LogLevel.Fatal level.

Fatal ( object message, Exception exception ) : void

Log a message object with the LogLevel.Fatal level including the stack trace of the Exception passed as a parameter.

FatalFormat ( IFormatProvider formatProvider, string format ) : void

Log a message with the LogLevel.Fatal level.

FatalFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void

Log a message with the LogLevel.Fatal level.

FatalFormat ( string format ) : void

Log a message with the LogLevel.Fatal level.

FatalFormat ( string format, Exception exception ) : void

Log a message with the LogLevel.Fatal level.

Info ( Action formatMessageCallback ) : void

Log a message with the LogLevel.Info level using a callback to obtain the message

Info ( Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Info level using a callback to obtain the message

Info ( IFormatProvider formatProvider, Action formatMessageCallback ) : void

Log a message with the LogLevel.Info level using a callback to obtain the message

Info ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Info level using a callback to obtain the message

Info ( object message ) : void

Log a message object with the LogLevel.Info level.

Info ( object message, Exception exception ) : void

Log a message object with the LogLevel.Info level including the stack trace of the Exception passed as a parameter.

InfoFormat ( IFormatProvider formatProvider, string format ) : void

Log a message with the LogLevel.Info level.

InfoFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void

Log a message with the LogLevel.Info level.

InfoFormat ( string format ) : void

Log a message with the LogLevel.Info level.

InfoFormat ( string format, Exception exception ) : void

Log a message with the LogLevel.Info level.

MultiLogger ( IEnumerable loggers ) : System

Initializes a new instance of the MultiLogger class.

Trace ( Action formatMessageCallback ) : void

Log a message with the LogLevel.Trace level using a callback to obtain the message

Trace ( Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Trace level using a callback to obtain the message

Trace ( IFormatProvider formatProvider, Action formatMessageCallback ) : void

Log a message with the LogLevel.Trace level using a callback to obtain the message

Trace ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Trace level using a callback to obtain the message

Trace ( object message ) : void

Log a message object with the LogLevel.Trace level.

Trace ( object message, Exception exception ) : void

Log a message object with the LogLevel.Trace level including the stack trace of the Exception passed as a parameter.

TraceFormat ( IFormatProvider formatProvider, string format ) : void

Log a message with the LogLevel.Trace level.

TraceFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void

Log a message with the LogLevel.Trace level.

TraceFormat ( string format ) : void

Log a message with the LogLevel.Trace level.

TraceFormat ( string format, Exception exception ) : void

Log a message with the LogLevel.Trace level.

Warn ( Action formatMessageCallback ) : void

Log a message with the LogLevel.Warn level using a callback to obtain the message

Warn ( Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Warn level using a callback to obtain the message

Warn ( IFormatProvider formatProvider, Action formatMessageCallback ) : void

Log a message with the LogLevel.Warn level using a callback to obtain the message

Warn ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void

Log a message with the LogLevel.Warn level using a callback to obtain the message

Warn ( object message ) : void

Log a message object with the LogLevel.Warn level.

Warn ( object message, Exception exception ) : void

Log a message object with the LogLevel.Warn level including the stack trace of the Exception passed as a parameter.

WarnFormat ( IFormatProvider formatProvider, string format ) : void

Log a message with the LogLevel.Warn level.

WarnFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void

Log a message with the LogLevel.Warn level.

WarnFormat ( string format ) : void

Log a message with the LogLevel.Warn level.

WarnFormat ( string format, Exception exception ) : void

Log a message with the LogLevel.Warn level.

Method Details

Debug() public method

Log a message with the LogLevel.Debug level using a callback to obtain the message
public Debug ( Action formatMessageCallback ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Debug() public method

Log a message with the LogLevel.Debug level using a callback to obtain the message
public Debug ( Action formatMessageCallback, Exception exception ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Debug() public method

Log a message with the LogLevel.Debug level using a callback to obtain the message
public Debug ( IFormatProvider formatProvider, Action formatMessageCallback ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Debug() public method

Log a message with the LogLevel.Debug level using a callback to obtain the message
public Debug ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack Debug.
return void

Debug() public method

Log a message object with the LogLevel.Debug level.
public Debug ( object message ) : void
message object The message object to log.
return void

Debug() public method

Log a message object with the LogLevel.Debug level including the stack trace of the Exception passed as a parameter.
public Debug ( object message, Exception exception ) : void
message object The message object to log.
exception System.Exception The exception to log, including its stack trace.
return void

DebugFormat() public method

Log a message with the LogLevel.Debug level.
public DebugFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
return void

DebugFormat() public method

Log a message with the LogLevel.Debug level.
public DebugFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

DebugFormat() public method

Log a message with the LogLevel.Debug level.
public DebugFormat ( string format ) : void
format string The format of the message object to log.
return void

DebugFormat() public method

Log a message with the LogLevel.Debug level.
public DebugFormat ( string format, Exception exception ) : void
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

Error() public method

Log a message with the LogLevel.Error level using a callback to obtain the message
public Error ( Action formatMessageCallback ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Error() public method

Log a message with the LogLevel.Error level using a callback to obtain the message
public Error ( Action formatMessageCallback, Exception exception ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Error() public method

Log a message with the LogLevel.Error level using a callback to obtain the message
public Error ( IFormatProvider formatProvider, Action formatMessageCallback ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Error() public method

Log a message with the LogLevel.Error level using a callback to obtain the message
public Error ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack Error.
return void

Error() public method

Log a message object with the LogLevel.Error level.
public Error ( object message ) : void
message object The message object to log.
return void

Error() public method

Log a message object with the LogLevel.Error level including the stack trace of the Exception passed as a parameter.
public Error ( object message, Exception exception ) : void
message object The message object to log.
exception System.Exception The exception to log, including its stack trace.
return void

ErrorFormat() public method

Log a message with the LogLevel.Error level.
public ErrorFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
return void

ErrorFormat() public method

Log a message with the LogLevel.Error level.
public ErrorFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

ErrorFormat() public method

Log a message with the LogLevel.Error level.
public ErrorFormat ( string format ) : void
format string The format of the message object to log.
return void

ErrorFormat() public method

Log a message with the LogLevel.Error level.
public ErrorFormat ( string format, Exception exception ) : void
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

Fatal() public method

Log a message with the LogLevel.Fatal level using a callback to obtain the message
public Fatal ( Action formatMessageCallback ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Fatal() public method

Log a message with the LogLevel.Fatal level using a callback to obtain the message
public Fatal ( Action formatMessageCallback, Exception exception ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Fatal() public method

Log a message with the LogLevel.Fatal level using a callback to obtain the message
public Fatal ( IFormatProvider formatProvider, Action formatMessageCallback ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Fatal() public method

Log a message with the LogLevel.Fatal level using a callback to obtain the message
public Fatal ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack Fatal.
return void

Fatal() public method

Log a message object with the LogLevel.Fatal level.
public Fatal ( object message ) : void
message object The message object to log.
return void

Fatal() public method

Log a message object with the LogLevel.Fatal level including the stack trace of the Exception passed as a parameter.
public Fatal ( object message, Exception exception ) : void
message object The message object to log.
exception System.Exception The exception to log, including its stack trace.
return void

FatalFormat() public method

Log a message with the LogLevel.Fatal level.
public FatalFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
return void

FatalFormat() public method

Log a message with the LogLevel.Fatal level.
public FatalFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

FatalFormat() public method

Log a message with the LogLevel.Fatal level.
public FatalFormat ( string format ) : void
format string The format of the message object to log.
return void

FatalFormat() public method

Log a message with the LogLevel.Fatal level.
public FatalFormat ( string format, Exception exception ) : void
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

Info() public method

Log a message with the LogLevel.Info level using a callback to obtain the message
public Info ( Action formatMessageCallback ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Info() public method

Log a message with the LogLevel.Info level using a callback to obtain the message
public Info ( Action formatMessageCallback, Exception exception ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Info() public method

Log a message with the LogLevel.Info level using a callback to obtain the message
public Info ( IFormatProvider formatProvider, Action formatMessageCallback ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Info() public method

Log a message with the LogLevel.Info level using a callback to obtain the message
public Info ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack Info.
return void

Info() public method

Log a message object with the LogLevel.Info level.
public Info ( object message ) : void
message object The message object to log.
return void

Info() public method

Log a message object with the LogLevel.Info level including the stack trace of the Exception passed as a parameter.
public Info ( object message, Exception exception ) : void
message object The message object to log.
exception System.Exception The exception to log, including its stack trace.
return void

InfoFormat() public method

Log a message with the LogLevel.Info level.
public InfoFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
return void

InfoFormat() public method

Log a message with the LogLevel.Info level.
public InfoFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

InfoFormat() public method

Log a message with the LogLevel.Info level.
public InfoFormat ( string format ) : void
format string The format of the message object to log.
return void

InfoFormat() public method

Log a message with the LogLevel.Info level.
public InfoFormat ( string format, Exception exception ) : void
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

MultiLogger() public method

Initializes a new instance of the MultiLogger class.
public MultiLogger ( IEnumerable loggers ) : System
loggers IEnumerable The loggers.
return System

Trace() public method

Log a message with the LogLevel.Trace level using a callback to obtain the message
public Trace ( Action formatMessageCallback ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Trace() public method

Log a message with the LogLevel.Trace level using a callback to obtain the message
public Trace ( Action formatMessageCallback, Exception exception ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Trace() public method

Log a message with the LogLevel.Trace level using a callback to obtain the message
public Trace ( IFormatProvider formatProvider, Action formatMessageCallback ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Trace() public method

Log a message with the LogLevel.Trace level using a callback to obtain the message
public Trace ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Trace() public method

Log a message object with the LogLevel.Trace level.
public Trace ( object message ) : void
message object The message object to log.
return void

Trace() public method

Log a message object with the LogLevel.Trace level including the stack trace of the Exception passed as a parameter.
public Trace ( object message, Exception exception ) : void
message object The message object to log.
exception System.Exception The exception to log, including its stack trace.
return void

TraceFormat() public method

Log a message with the LogLevel.Trace level.
public TraceFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
return void

TraceFormat() public method

Log a message with the LogLevel.Trace level.
public TraceFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

TraceFormat() public method

Log a message with the LogLevel.Trace level.
public TraceFormat ( string format ) : void
format string The format of the message object to log.
return void

TraceFormat() public method

Log a message with the LogLevel.Trace level.
public TraceFormat ( string format, Exception exception ) : void
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

Warn() public method

Log a message with the LogLevel.Warn level using a callback to obtain the message
public Warn ( Action formatMessageCallback ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Warn() public method

Log a message with the LogLevel.Warn level using a callback to obtain the message
public Warn ( Action formatMessageCallback, Exception exception ) : void
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack trace.
return void

Warn() public method

Log a message with the LogLevel.Warn level using a callback to obtain the message
public Warn ( IFormatProvider formatProvider, Action formatMessageCallback ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
return void

Warn() public method

Log a message with the LogLevel.Warn level using a callback to obtain the message
public Warn ( IFormatProvider formatProvider, Action formatMessageCallback, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
formatMessageCallback Action A callback used by the logger to obtain the message if log level is matched
exception System.Exception The exception to log, including its stack Warn.
return void

Warn() public method

Log a message object with the LogLevel.Warn level.
public Warn ( object message ) : void
message object The message object to log.
return void

Warn() public method

Log a message object with the LogLevel.Warn level including the stack trace of the Exception passed as a parameter.
public Warn ( object message, Exception exception ) : void
message object The message object to log.
exception System.Exception The exception to log, including its stack trace.
return void

WarnFormat() public method

Log a message with the LogLevel.Warn level.
public WarnFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
return void

WarnFormat() public method

Log a message with the LogLevel.Warn level.
public WarnFormat ( IFormatProvider formatProvider, string format, Exception exception ) : void
formatProvider IFormatProvider An that supplies culture-specific formatting information.
format string The format of the message object to log.
exception System.Exception The exception to log.
return void

WarnFormat() public method

Log a message with the LogLevel.Warn level.
public WarnFormat ( string format ) : void
format string The format of the message object to log.
return void

WarnFormat() public method

Log a message with the LogLevel.Warn level.
public WarnFormat ( string format, Exception exception ) : void
format string The format of the message object to log.
exception System.Exception The exception to log.
return void