C# Class Castle.Facilities.Logging.LoggingFacility

A facility for logging support.
TODO: Document its inner working and configuration scheme
Inheritance: Castle.MicroKernel.Facilities.AbstractFacility
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Init ( ) : void

Private Methods

Méthode Description
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

Method Details

Init() protected méthode

protected Init ( ) : void
Résultat void

LoggingFacility() public méthode

Initializes a new instance of the LoggingFacility class.
public LoggingFacility ( ) : System
Résultat System

LoggingFacility() public méthode

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

LoggingFacility() public méthode

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 ///
Résultat System

LoggingFacility() public méthode

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 ///
Résultat System

LoggingFacility() public méthode

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 ///
Résultat System