LoggingConfiguration Methods |
The LoggingConfiguration type exposes the following members.
Name | Description | |
---|---|---|
AddRule(LoggingRule) |
Add a rule object.
| |
AddRule(LogLevel, LogLevel, Target, String) |
Add a rule with min- and maxLevel.
| |
AddRule(LogLevel, LogLevel, String, String) |
Add a rule with min- and maxLevel.
| |
AddRule(LogLevel, LogLevel, Target, String, Boolean) |
Add a rule with min- and maxLevel.
| |
AddRuleForAllLevels(String, String) |
Add a rule for all loglevels.
| |
AddRuleForAllLevels(Target, String) |
Add a rule for all loglevels.
| |
AddRuleForAllLevels(Target, String, Boolean) |
Add a rule for all loglevels.
| |
AddRuleForOneLevel(LogLevel, Target, String) |
Add a rule for one loglevel.
| |
AddRuleForOneLevel(LogLevel, String, String) |
Add a rule for one loglevel.
| |
AddRuleForOneLevel(LogLevel, Target, String, Boolean) |
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.
| |
FindRuleByName |
Lookup the logging rule with matching RuleName | |
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.
| |
OnConfigurationAssigned |
Notify the configuration when Configuration has been assigned / unassigned.
| |
PrepareForReload |
Allow this new configuration to capture state from the old configuration
| |
Reload |
Called by LogManager when one of the log configuration files changes.
| |
RemoveRuleByName |
Removes the specified named logging rule with matching RuleName | |
RemoveTarget |
Removes the specified named target.
| |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) | |
Uninstall |
Uninstalls target-specific objects from current system.
|