![]() | LoggingConfiguration Class |
Namespace: NLog.Config
The LoggingConfiguration type exposes the following members.
Name | Description | |
---|---|---|
![]() | LoggingConfiguration |
Initializes a new instance of the LoggingConfiguration class.
|
Name | Description | |
---|---|---|
![]() | AllTargets |
Gets all targets.
|
![]() | ConfiguredNamedTargets |
Gets a collection of named targets specified in the configuration.
|
![]() | DefaultCultureInfo |
Gets or sets the default culture info to use as FormatProvider.
|
![]() | ExceptionLoggingOldStyle | Obsolete.
Use the old exception log handling of NLog 3.0?
|
![]() | FileNamesToWatch |
Gets the collection of file names which should be watched for changes by NLog.
|
![]() | LoggingRules |
Gets the collection of logging rules.
|
![]() | Variables |
Gets the variables defined in the configuration.
|
Name | Description | |
---|---|---|
![]() | AddRule(LogLevel, LogLevel, Target, String) |
Add a rule with min- and maxLevel.
|
![]() | AddRule(LogLevel, LogLevel, String, String) |
Add a rule with min- and maxLevel.
|
![]() | AddRuleForAllLevels(String, String) |
Add a rule for alle loglevels.
|
![]() | AddRuleForAllLevels(Target, String) |
Add a rule for alle loglevels.
|
![]() | AddRuleForOneLevel(LogLevel, Target, String) |
Add a rule for one loglevel.
|
![]() | AddRuleForOneLevel(LogLevel, String, String) |
Add a rule for one loglevel.
|
![]() | AddTarget(Target) |
Registers the specified target object. The name of the target is read from Name.
|
![]() | AddTarget(String, Target) |
Registers the specified target object under a given name.
|
![]() | FindTargetByName(String) |
Finds the target with the specified name.
|
![]() | FindTargetByNameTTarget(String) |
Finds the target with the specified name and specified type.
|
![]() | Install |
Installs target-specific objects on current system.
|
![]() | Reload |
Called by LogManager when one of the log configuration files changes.
|
![]() | RemoveTarget |
Removes the specified named target.
|
![]() | Uninstall |
Uninstalls target-specific objects from current system.
|