C# Class NLog.Internal.LoggerConfiguration

Exibir arquivo Open project: NLog/NLog

Private Properties

Property Type Description

Public Methods

Method Description
GetTargetsForLevel ( LogLevel level ) : NLog.Internal.TargetWithFilterChain

Gets targets for the specified level.

IsEnabled ( LogLevel level ) : bool

Determines whether the specified level is enabled.

LoggerConfiguration ( NLog.Internal.TargetWithFilterChain targetsByLevel, bool exceptionLoggingOldStyle = false ) : System

Initializes a new instance of the LoggerConfiguration class.

Method Details

GetTargetsForLevel() public method

Gets targets for the specified level.
public GetTargetsForLevel ( LogLevel level ) : NLog.Internal.TargetWithFilterChain
level LogLevel The level.
return NLog.Internal.TargetWithFilterChain

IsEnabled() public method

Determines whether the specified level is enabled.
public IsEnabled ( LogLevel level ) : bool
level LogLevel The level.
return bool

LoggerConfiguration() public method

Initializes a new instance of the LoggerConfiguration class.
public LoggerConfiguration ( NLog.Internal.TargetWithFilterChain targetsByLevel, bool exceptionLoggingOldStyle = false ) : System
targetsByLevel NLog.Internal.TargetWithFilterChain The targets by level.
exceptionLoggingOldStyle bool Use the old exception log handling of NLog 3.0? ///
return System