Метод | Описание | |
---|---|---|
AddTarget ( string name, |
Registers the specified target object under a given name.
|
|
FindTargetByName ( string name ) : |
Finds the target with the specified name.
|
|
Install ( |
Installs target-specific objects on current system. Installation typically runs with administrative permissions. |
|
LoggingConfiguration ( ) : System |
Initializes a new instance of the LoggingConfiguration class.
|
|
Reload ( ) : |
Called by LogManager when one of the log configuration files changes.
|
|
RemoveTarget ( string name ) : void |
Removes the specified named target.
|
|
Uninstall ( |
Uninstalls target-specific objects from current system. Uninstallation typically runs with administrative permissions. |
Метод | Описание | |
---|---|---|
Close ( ) : void |
Closes all targets and releases any unmanaged resources.
|
|
Dump ( ) : void | ||
EnsureInitialized ( ) : void | ||
FlushAllTargets ( AsyncContinuation asyncContinuation ) : void |
Flushes any pending log messages on all appenders.
|
|
InitializeAll ( ) : void | ||
ValidateConfig ( ) : void |
Validates the configuration.
|
public AddTarget ( string name, |
||
name | string | /// Name of the target. /// |
target | /// The target object. /// | |
Результат | void |
public FindTargetByName ( string name ) : |
||
name | string | /// The name of the target to be found. /// |
Результат |
public Install ( |
||
installationContext | The installation context. | |
Результат | void |
public RemoveTarget ( string name ) : void | ||
name | string | /// Name of the target. /// |
Результат | void |
public Uninstall ( |
||
installationContext | The installation context. | |
Результат | void |