![]() | XmlLoggingConfiguration Class |
Namespace: NLog.Config
The XmlLoggingConfiguration type exposes the following members.
Name | Description | |
---|---|---|
![]() | XmlLoggingConfiguration(String) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(String, LogFactory) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(String, Boolean) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(XmlReader, String) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(String, Boolean, LogFactory) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(XmlReader, String, LogFactory) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(XmlReader, String, Boolean) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
![]() | XmlLoggingConfiguration(XmlReader, String, Boolean, LogFactory) |
Initializes a new instance of the XmlLoggingConfiguration class.
|
Name | Description | |
---|---|---|
![]() | AllTargets |
Gets all targets.
(Inherited from LoggingConfiguration.) |
![]() ![]() | AppConfig |
Gets the default LoggingConfiguration object by parsing
the application configuration file (app.exe.config).
|
![]() | AutoReload |
Gets or sets a value indicating whether all of the configuration files
should be watched for changes and reloaded automatically when changed.
|
![]() | ConfiguredNamedTargets |
Gets a collection of named targets specified in the configuration.
(Inherited from LoggingConfiguration.) |
![]() | DefaultCultureInfo |
Gets or sets the default culture info to use as FormatProvider.
(Inherited from LoggingConfiguration.) |
![]() | ExceptionLoggingOldStyle | Obsolete.
Use the old exception log handling of NLog 3.0?
(Inherited from LoggingConfiguration.) |
![]() | FileNamesToWatch |
Gets the collection of file names which should be watched for changes by NLog.
This is the list of configuration files processed.
If the autoReload attribute is not set it returns empty collection.
(Overrides LoggingConfigurationFileNamesToWatch.) |
![]() | InitializeSucceeded |
Did the Initialize(XmlReader, String, Boolean) Succeeded? true= success, false= error, null = initialize not started yet.
|
![]() | LoggingRules |
Gets the collection of logging rules.
(Inherited from LoggingConfiguration.) |
![]() | Variables |
Gets the variables defined in the configuration.
(Inherited from LoggingConfiguration.) |
Name | Description | |
---|---|---|
![]() | AddRule(LogLevel, LogLevel, Target, String) |
Add a rule with min- and maxLevel.
(Inherited from LoggingConfiguration.) |
![]() | AddRule(LogLevel, LogLevel, String, String) |
Add a rule with min- and maxLevel.
(Inherited from LoggingConfiguration.) |
![]() | AddRuleForAllLevels(String, String) |
Add a rule for alle loglevels.
(Inherited from LoggingConfiguration.) |
![]() | AddRuleForAllLevels(Target, String) |
Add a rule for alle loglevels.
(Inherited from LoggingConfiguration.) |
![]() | AddRuleForOneLevel(LogLevel, Target, String) |
Add a rule for one loglevel.
(Inherited from LoggingConfiguration.) |
![]() | AddRuleForOneLevel(LogLevel, String, String) |
Add a rule for one loglevel.
(Inherited from LoggingConfiguration.) |
![]() | AddTarget(Target) |
Registers the specified target object. The name of the target is read from Name.
(Inherited from LoggingConfiguration.) |
![]() | AddTarget(String, Target) |
Registers the specified target object under a given name.
(Inherited from LoggingConfiguration.) |
![]() | FindTargetByName(String) |
Finds the target with the specified name.
(Inherited from LoggingConfiguration.) |
![]() | Install |
Installs target-specific objects on current system.
(Inherited from LoggingConfiguration.) |
![]() | Reload |
Re-reads the original configuration file and returns the new LoggingConfiguration object.
(Overrides LoggingConfigurationReload.) |
![]() | RemoveTarget |
Removes the specified named target.
(Inherited from LoggingConfiguration.) |
![]() | Uninstall |
Uninstalls target-specific objects from current system.
(Inherited from LoggingConfiguration.) |