C# Class Apprenda.Log4NetConnectorPolicy.Log4NetConfigurationUpdateService

The log4net standalone configuration file update service.
Show file Open project: apprenda/Log4Net-Onboarder

Public Methods

Method Description
Log4NetConfigurationUpdateService ( string configFilePath ) : System

Initializes a new instance of the Log4NetConfigurationUpdateService class.

Update ( ) : IEnumerable

Perform the configuration file update within the workload.

Private Methods

Method Description
InjectDefaultConfiguration ( ) : void

Inject default configuration.

LoadConfiguration ( ) : void

Load the configuration document.

UpdateConfigurationDocument ( ) : void

Update main worker.

WriteConfigurationDocument ( ) : void

Write the configuration document.

Method Details

Log4NetConfigurationUpdateService() public method

Initializes a new instance of the Log4NetConfigurationUpdateService class.
public Log4NetConfigurationUpdateService ( string configFilePath ) : System
configFilePath string /// The config file path. ///
return System

Update() public method

Perform the configuration file update within the workload.
public Update ( ) : IEnumerable
return IEnumerable