Click or drag to resize

NullLogger Class

It works as a normal Logger but it discards all messages which an application requests to be logged. It effectively implements the "Null Object" pattern for Logger objects.
Inheritance Hierarchy
SystemObject
  NLogLogger
    NLogNullLogger

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public sealed class NullLogger : Logger

The NullLogger type exposes the following members.

Constructors
  NameDescription
Public methodNullLogger
Initializes a new instance of NullLogger.
Top
Properties
  NameDescription
Public propertyFactory
Gets the factory that created this logger.
(Inherited from Logger.)
Public propertyIsDebugEnabled
Gets a value indicating whether logging is enabled for the Debug level.
(Inherited from Logger.)
Public propertyIsErrorEnabled
Gets a value indicating whether logging is enabled for the Error level.
(Inherited from Logger.)
Public propertyIsFatalEnabled
Gets a value indicating whether logging is enabled for the Fatal level.
(Inherited from Logger.)
Public propertyIsInfoEnabled
Gets a value indicating whether logging is enabled for the Info level.
(Inherited from Logger.)
Public propertyIsTraceEnabled
Gets a value indicating whether logging is enabled for the Trace level.
(Inherited from Logger.)
Public propertyIsWarnEnabled
Gets a value indicating whether logging is enabled for the Warn level.
(Inherited from Logger.)
Public propertyName
Gets the name of the logger.
(Inherited from Logger.)
Public propertyProperties
Collection of context properties for the Logger. The logger will append it for all log events
(Inherited from Logger.)
Top
Methods
  NameDescription
Public methodConditionalDebug(LogMessageGenerator)
Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(Object)
Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String)
Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, Object)
Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Boolean)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Byte)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Char)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Decimal)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Double)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Int32)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Int64)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Object)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Object)
Writes the diagnostic message at the Debug level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Single)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, String)
Writes the diagnostic message at the Debug level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(Exception, String, Object)
Writes the diagnostic message and exception at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Boolean)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Byte)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Char)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Decimal)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Double)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Int32)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Int64)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Object)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Object)
Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, Single)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(IFormatProvider, String, String)
Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Object, Object)
Writes the diagnostic message at the Debug level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebug(String, Object, Object, Object)
Writes the diagnostic message at the Debug level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebugT(T)
Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebugT(IFormatProvider, T)
Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebugTArgument(String, TArgument)
Writes the diagnostic message at the Debug level using the specified parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebugTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebugTArgument1, TArgument2(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.
(Inherited from Logger.)
Public methodConditionalDebugTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalDebugTArgument1, TArgument2, TArgument3(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.
(Inherited from Logger.)
Public methodConditionalDebugTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(LogMessageGenerator)
Writes the diagnostic message at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(Object)
Writes the diagnostic message at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String)
Writes the diagnostic message at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, Object)
Writes the diagnostic message at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Boolean)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Byte)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Char)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Decimal)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Double)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Int32)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Int64)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Object)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Object)
Writes the diagnostic message at the Trace level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Single)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, String)
Writes the diagnostic message at the Trace level using the specified value as a parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(Exception, String, Object)
Writes the diagnostic message and exception at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Boolean)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Byte)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Char)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Decimal)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Double)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Int32)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Int64)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Object)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Object)
Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, Single)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(IFormatProvider, String, String)
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Object, Object)
Writes the diagnostic message at the Trace level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTrace(String, Object, Object, Object)
Writes the diagnostic message at the Trace level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceT(T)
Writes the diagnostic message at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceT(IFormatProvider, T)
Writes the diagnostic message at the Trace level. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceTArgument(String, TArgument)
Writes the diagnostic message at the Trace level using the specified parameter. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Trace level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Trace level using the specified parameters. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodConditionalTraceTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. Only executed when the DEBUG conditional compilation symbol is set.
(Inherited from Logger.)
Public methodDebug(LogMessageGenerator)
Writes the diagnostic message at the Debug level.
(Inherited from Logger.)
Public methodDebug(String)
Writes the diagnostic message at the Debug level.
(Inherited from Logger.)
Public methodDebug(Exception, String)
Writes the diagnostic message and exception at the Debug level.
(Inherited from Logger.)
Public methodDebug(String, Object)
Writes the diagnostic message at the Debug level using the specified parameters.
(Inherited from Logger.)
Public methodDebug(Exception, String, Object)
Writes the diagnostic message and exception at the Debug level.
(Inherited from Logger.)
Public methodDebug(IFormatProvider, String, Object)
Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodDebug(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Debug level.
(Inherited from Logger.)
Public methodDebugT(T)
Writes the diagnostic message at the Debug level.
(Inherited from Logger.)
Public methodDebugT(IFormatProvider, T)
Writes the diagnostic message at the Debug level.
(Inherited from Logger.)
Public methodDebugTArgument(String, TArgument)
Writes the diagnostic message at the Debug level using the specified parameter.
(Inherited from Logger.)
Public methodDebugTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodDebugTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Debug level using the specified parameters.
(Inherited from Logger.)
Public methodDebugTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodDebugTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Debug level using the specified parameters.
(Inherited from Logger.)
Public methodDebugTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodError(LogMessageGenerator)
Writes the diagnostic message at the Error level.
(Inherited from Logger.)
Public methodError(String)
Writes the diagnostic message at the Error level.
(Inherited from Logger.)
Public methodError(Exception, String)
Writes the diagnostic message and exception at the Error level.
(Inherited from Logger.)
Public methodError(String, Object)
Writes the diagnostic message at the Error level using the specified parameters.
(Inherited from Logger.)
Public methodError(Exception, String, Object)
Writes the diagnostic message and exception at the Error level.
(Inherited from Logger.)
Public methodError(IFormatProvider, String, Object)
Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodError(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Error level.
(Inherited from Logger.)
Public methodErrorT(T)
Writes the diagnostic message at the Error level.
(Inherited from Logger.)
Public methodErrorT(IFormatProvider, T)
Writes the diagnostic message at the Error level.
(Inherited from Logger.)
Public methodErrorTArgument(String, TArgument)
Writes the diagnostic message at the Error level using the specified parameter.
(Inherited from Logger.)
Public methodErrorTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodErrorTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Error level using the specified parameters.
(Inherited from Logger.)
Public methodErrorTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodErrorTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Error level using the specified parameters.
(Inherited from Logger.)
Public methodErrorTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodFatal(LogMessageGenerator)
Writes the diagnostic message at the Fatal level.
(Inherited from Logger.)
Public methodFatal(String)
Writes the diagnostic message at the Fatal level.
(Inherited from Logger.)
Public methodFatal(Exception, String)
Writes the diagnostic message and exception at the Fatal level.
(Inherited from Logger.)
Public methodFatal(String, Object)
Writes the diagnostic message at the Fatal level using the specified parameters.
(Inherited from Logger.)
Public methodFatal(Exception, String, Object)
Writes the diagnostic message and exception at the Fatal level.
(Inherited from Logger.)
Public methodFatal(IFormatProvider, String, Object)
Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodFatal(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Fatal level.
(Inherited from Logger.)
Public methodFatalT(T)
Writes the diagnostic message at the Fatal level.
(Inherited from Logger.)
Public methodFatalT(IFormatProvider, T)
Writes the diagnostic message at the Fatal level.
(Inherited from Logger.)
Public methodFatalTArgument(String, TArgument)
Writes the diagnostic message at the Fatal level using the specified parameter.
(Inherited from Logger.)
Public methodFatalTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodFatalTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Fatal level using the specified parameters.
(Inherited from Logger.)
Public methodFatalTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodFatalTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Fatal level using the specified parameters.
(Inherited from Logger.)
Public methodFatalTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodInfo(LogMessageGenerator)
Writes the diagnostic message at the Info level.
(Inherited from Logger.)
Public methodInfo(String)
Writes the diagnostic message at the Info level.
(Inherited from Logger.)
Public methodInfo(Exception, String)
Writes the diagnostic message and exception at the Info level.
(Inherited from Logger.)
Public methodInfo(String, Object)
Writes the diagnostic message at the Info level using the specified parameters.
(Inherited from Logger.)
Public methodInfo(Exception, String, Object)
Writes the diagnostic message and exception at the Info level.
(Inherited from Logger.)
Public methodInfo(IFormatProvider, String, Object)
Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodInfo(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Info level.
(Inherited from Logger.)
Public methodInfoT(T)
Writes the diagnostic message at the Info level.
(Inherited from Logger.)
Public methodInfoT(IFormatProvider, T)
Writes the diagnostic message at the Info level.
(Inherited from Logger.)
Public methodInfoTArgument(String, TArgument)
Writes the diagnostic message at the Info level using the specified parameter.
(Inherited from Logger.)
Public methodInfoTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodInfoTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Info level using the specified parameters.
(Inherited from Logger.)
Public methodInfoTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodInfoTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Info level using the specified parameters.
(Inherited from Logger.)
Public methodInfoTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodIsEnabled
Gets a value indicating whether logging is enabled for the specified level.
(Inherited from Logger.)
Public methodLog(LogEventInfo)
Writes the specified diagnostic message.
(Inherited from Logger.)
Public methodLog(LogLevel, LogMessageGenerator)
Writes the diagnostic message at the specified level.
(Inherited from Logger.)
Public methodLog(LogLevel, String)
Writes the diagnostic message at the specified level.
(Inherited from Logger.)
Public methodLog(Type, LogEventInfo)
Writes the specified diagnostic message.
(Inherited from Logger.)
Public methodLog(LogLevel, String, Object)
Writes the diagnostic message at the specified level using the specified parameters.
(Inherited from Logger.)
Public methodLog(LogLevel, Exception, String, Object)
Writes the diagnostic message and exception at the specified level.
(Inherited from Logger.)
Public methodLog(LogLevel, IFormatProvider, String, Object)
Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodLog(LogLevel, Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the specified level.
(Inherited from Logger.)
Public methodLogT(LogLevel, T)
Writes the diagnostic message at the specified level.
(Inherited from Logger.)
Public methodLogT(LogLevel, IFormatProvider, T)
Writes the diagnostic message at the specified level.
(Inherited from Logger.)
Public methodLogTArgument(LogLevel, String, TArgument)
Writes the diagnostic message at the specified level using the specified parameter.
(Inherited from Logger.)
Public methodLogTArgument(LogLevel, IFormatProvider, String, TArgument)
Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodLogTArgument1, TArgument2(LogLevel, String, TArgument1, TArgument2)
Writes the diagnostic message at the specified level using the specified parameters.
(Inherited from Logger.)
Public methodLogTArgument1, TArgument2(LogLevel, IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodLogTArgument1, TArgument2, TArgument3(LogLevel, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the specified level using the specified parameters.
(Inherited from Logger.)
Public methodLogTArgument1, TArgument2, TArgument3(LogLevel, IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodPushScopeNested(Object)
Pushes new state on the logical context scope stack
(Inherited from Logger.)
Public methodPushScopeNestedT(T)
Pushes new state on the logical context scope stack
(Inherited from Logger.)
Public methodPushScopeProperties(IReadOnlyCollectionKeyValuePairString, Object)
Updates the ScopeContext with provided properties
(Inherited from Logger.)
Public methodPushScopePropertiesTValue(IReadOnlyCollectionKeyValuePairString, TValue)
Updates the ScopeContext with provided properties
(Inherited from Logger.)
Public methodPushScopeProperty(String, Object)
Updates the ScopeContext with provided property
(Inherited from Logger.)
Public methodPushScopePropertyTValue(String, TValue)
Updates the ScopeContext with provided property
(Inherited from Logger.)
Public methodSwallow(Action)
Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
(Inherited from Logger.)
Public methodSwallow(Task)
Logs an exception is logged at Error level if the provided task does not run to completion.
(Inherited from Logger.)
Public methodSwallowT(FuncT)
Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. The exception is not propagated outside of this method; a default value is returned instead.
(Inherited from Logger.)
Public methodSwallowT(FuncT, T)
Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. The exception is not propagated outside of this method; a fallback value is returned instead.
(Inherited from Logger.)
Public methodSwallowAsync(FuncTask)
Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
(Inherited from Logger.)
Public methodSwallowAsync(Task)
Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
(Inherited from Logger.)
Public methodSwallowAsyncTResult(FuncTaskTResult)
Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. The exception is not propagated outside of this method; a default value is returned instead.
(Inherited from Logger.)
Public methodSwallowAsyncTResult(FuncTaskTResult, TResult)
Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. The exception is not propagated outside of this method; a fallback value is returned instead.
(Inherited from Logger.)
Public methodTrace(LogMessageGenerator)
Writes the diagnostic message at the Trace level.
(Inherited from Logger.)
Public methodTrace(String)
Writes the diagnostic message at the Trace level.
(Inherited from Logger.)
Public methodTrace(Exception, String)
Writes the diagnostic message and exception at the Trace level.
(Inherited from Logger.)
Public methodTrace(String, Object)
Writes the diagnostic message at the Trace level using the specified parameters.
(Inherited from Logger.)
Public methodTrace(Exception, String, Object)
Writes the diagnostic message and exception at the Trace level.
(Inherited from Logger.)
Public methodTrace(IFormatProvider, String, Object)
Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodTrace(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Trace level.
(Inherited from Logger.)
Public methodTraceT(T)
Writes the diagnostic message at the Trace level.
(Inherited from Logger.)
Public methodTraceT(IFormatProvider, T)
Writes the diagnostic message at the Trace level.
(Inherited from Logger.)
Public methodTraceTArgument(String, TArgument)
Writes the diagnostic message at the Trace level using the specified parameter.
(Inherited from Logger.)
Public methodTraceTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodTraceTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Trace level using the specified parameters.
(Inherited from Logger.)
Public methodTraceTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodTraceTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Trace level using the specified parameters.
(Inherited from Logger.)
Public methodTraceTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodWarn(LogMessageGenerator)
Writes the diagnostic message at the Warn level.
(Inherited from Logger.)
Public methodWarn(String)
Writes the diagnostic message at the Warn level.
(Inherited from Logger.)
Public methodWarn(Exception, String)
Writes the diagnostic message and exception at the Warn level.
(Inherited from Logger.)
Public methodWarn(String, Object)
Writes the diagnostic message at the Warn level using the specified parameters.
(Inherited from Logger.)
Public methodWarn(Exception, String, Object)
Writes the diagnostic message and exception at the Warn level.
(Inherited from Logger.)
Public methodWarn(IFormatProvider, String, Object)
Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider.
(Inherited from Logger.)
Public methodWarn(Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the Warn level.
(Inherited from Logger.)
Public methodWarnT(T)
Writes the diagnostic message at the Warn level.
(Inherited from Logger.)
Public methodWarnT(IFormatProvider, T)
Writes the diagnostic message at the Warn level.
(Inherited from Logger.)
Public methodWarnTArgument(String, TArgument)
Writes the diagnostic message at the Warn level using the specified parameter.
(Inherited from Logger.)
Public methodWarnTArgument(IFormatProvider, String, TArgument)
Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodWarnTArgument1, TArgument2(String, TArgument1, TArgument2)
Writes the diagnostic message at the Warn level using the specified parameters.
(Inherited from Logger.)
Public methodWarnTArgument1, TArgument2(IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodWarnTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Warn level using the specified parameters.
(Inherited from Logger.)
Public methodWarnTArgument1, TArgument2, TArgument3(IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider.
(Inherited from Logger.)
Public methodWithProperties
Creates new logger that automatically appends the specified properties to all log events (without changing current logger) With Properties property, all properties can be enumerated.
(Inherited from Logger.)
Public methodWithProperty
Creates new logger that automatically appends the specified property to all log events (without changing current logger) With Properties property, all properties can be enumerated.
(Inherited from Logger.)
Top
Events
  NameDescription
Public eventLoggerReconfigured
Occurs when logger configuration changes.
(Inherited from Logger.)
Top
See Also