C# Class NLog.Internal.LoggerConfiguration

Afficher le fichier Open project: NLog/NLog

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

IsEnabled() public méthode

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

LoggerConfiguration() public méthode

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? ///
Résultat System