C# 클래스 Castle.Facilities.Logging.LoggingFacility

A facility for logging support.
TODO: Document its inner working and configuration scheme
상속: Castle.MicroKernel.Facilities.AbstractFacility
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
LoggingFacility ( ) : System

Initializes a new instance of the LoggingFacility class.

LoggingFacility ( LoggerImplementation loggingApi ) : System

Initializes a new instance of the LoggingFacility class.

LoggingFacility ( LoggerImplementation loggingApi, string configFile ) : System

Initializes a new instance of the LoggingFacility class.

LoggingFacility ( LoggerImplementation loggingApi, string customLoggerFactory, string configFile ) : System

Initializes a new instance of the LoggingFacility class.

LoggingFacility ( string customLoggerFactory, string configFile ) : System

Initializes a new instance of the LoggingFacility class using a custom LoggerImplementation

보호된 메소드들

메소드 설명
Init ( ) : void

비공개 메소드들

메소드 설명
CreateProperLoggerFactory ( string customType, string configFile ) : void
GetLoggingFactoryArguments ( string configFile, Type loggerFactoryType ) : object[]
GetLoggingFactoryType ( string customType ) : Type
ReadConfigurationAndCreateLoggerFactory ( ) : void
RegisterDefaultILogger ( ) : void
RegisterLoggerFactory ( ) : void
RegisterSubResolver ( ) : void
SetUpTypeConverter ( ) : void

메소드 상세

Init() 보호된 메소드

protected Init ( ) : void
리턴 void

LoggingFacility() 공개 메소드

Initializes a new instance of the LoggingFacility class.
public LoggingFacility ( ) : System
리턴 System

LoggingFacility() 공개 메소드

Initializes a new instance of the LoggingFacility class.
public LoggingFacility ( LoggerImplementation loggingApi ) : System
loggingApi LoggerImplementation /// The LoggerImplementation that should be used ///
리턴 System

LoggingFacility() 공개 메소드

Initializes a new instance of the LoggingFacility class.
public LoggingFacility ( LoggerImplementation loggingApi, string configFile ) : System
loggingApi LoggerImplementation /// The LoggerImplementation that should be used ///
configFile string /// The configuration file that should be used by the chosen LoggerImplementation ///
리턴 System

LoggingFacility() 공개 메소드

Initializes a new instance of the LoggingFacility class.
public LoggingFacility ( LoggerImplementation loggingApi, string customLoggerFactory, string configFile ) : System
loggingApi LoggerImplementation /// The LoggerImplementation that should be used ///
customLoggerFactory string /// The type name of the type of the custom logger factory. (only used when loggingApi is set to LoggerImplementation.Custom) ///
configFile string /// The configuration file that should be used by the chosen LoggerImplementation ///
리턴 System

LoggingFacility() 공개 메소드

Initializes a new instance of the LoggingFacility class using a custom LoggerImplementation
public LoggingFacility ( string customLoggerFactory, string configFile ) : System
customLoggerFactory string /// The type name of the type of the custom logger factory. ///
configFile string /// The configuration file that should be used by the chosen LoggerImplementation ///
리턴 System