C# 클래스 Apprenda.Log4NetConnectorPolicy.Log4NetAppConfigUpdateService

The log 4 net app config update service.
파일 보기 프로젝트 열기: apprenda/Log4Net-Onboarder 1 사용 예제들

공개 메소드들

메소드 설명
Log4NetAppConfigUpdateService ( string path ) : System

Initializes a new instance of the Log4NetAppConfigUpdateService class.

Update ( ) : IEnumerable

Updates the XML Application configuration file.

비공개 메소드들

메소드 설명
AddIgnoredConfigSection ( ) : void

Analyze the configuration file and add the log4net config section declaration before injecting a log4net configuration section, if needed.

AddLog4NetElement ( ) : System.Xml.Linq.XElement

The add default logging element.

LoadDocument ( ) : void

Attempt to load the configuration file

SaveDocument ( ) : void

Save the configuration file.

메소드 상세

Log4NetAppConfigUpdateService() 공개 메소드

Initializes a new instance of the Log4NetAppConfigUpdateService class.
/// If path is null or empty. ///
public Log4NetAppConfigUpdateService ( string path ) : System
path string /// The path. ///
리턴 System

Update() 공개 메소드

Updates the XML Application configuration file.
public Update ( ) : IEnumerable
리턴 IEnumerable