ILoggerExtensions Methods |
The ILoggerExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| ConditionalDebug(ILogger, LogMessageGenerator) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebug(ILogger, String) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebug(ILogger, String, Object) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebug(ILogger, Exception, String, Object) |
Writes the diagnostic message and exception at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebug(ILogger, IFormatProvider, String, Object) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebug(ILogger, Exception, IFormatProvider, String, Object) |
Writes the diagnostic message and exception at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebugT(ILogger, T) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebugT(ILogger, IFormatProvider, T) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebugTArgument(ILogger, String, TArgument) |
Writes the diagnostic message at the Debug level using the specified parameter.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebugTArgument1, TArgument2(ILogger, String, TArgument1, TArgument2) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalDebugTArgument1, TArgument2, TArgument3(ILogger, String, TArgument1, TArgument2, TArgument3) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTrace(ILogger, LogMessageGenerator) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTrace(ILogger, String) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTrace(ILogger, String, Object) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTrace(ILogger, Exception, String, Object) |
Writes the diagnostic message and exception at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTrace(ILogger, IFormatProvider, String, Object) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTrace(ILogger, Exception, IFormatProvider, String, Object) |
Writes the diagnostic message and exception at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTraceT(ILogger, T) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTraceT(ILogger, IFormatProvider, T) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTraceTArgument(ILogger, String, TArgument) |
Writes the diagnostic message at the Debug level using the specified parameter.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTraceTArgument1, TArgument2(ILogger, String, TArgument1, TArgument2) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| ConditionalTraceTArgument1, TArgument2, TArgument3(ILogger, String, TArgument1, TArgument2, TArgument3) |
Writes the diagnostic message at the Debug level using the specified parameters.
Only executed when the DEBUG conditional compilation symbol is set. | |
| Debug |
Writes the diagnostic message and exception at the Debug level.
| |
| Error |
Writes the diagnostic message and exception at the Error level.
| |
| Fatal |
Writes the diagnostic message and exception at the Fatal level.
| |
| ForDebugEvent |
Starts building a log event at the Debug level.
| |
| ForErrorEvent |
Starts building a log event at the Error level.
| |
| ForExceptionEvent |
Starts building a log event at the Exception level.
| |
| ForFatalEvent |
Starts building a log event at the Fatal level.
| |
| ForInfoEvent |
Starts building a log event at the Info level.
| |
| ForLogEvent |
Starts building a log event with the specified LogLevel.
| |
| ForTraceEvent |
Starts building a log event at the Trace level.
| |
| ForWarnEvent |
Starts building a log event at the Warn level.
| |
| Info |
Writes the diagnostic message and exception at the Info level.
| |
| Log |
Writes the diagnostic message and exception at the specified level.
| |
| Trace |
Writes the diagnostic message and exception at the Trace level.
| |
| Warn |
Writes the diagnostic message and exception at the Warn level.
|