C# Класс Castle.Facilities.Logging.LoggingFacility

A facility for logging support.
TODO: Document its inner working and configuration scheme
Наследование: Castle.MicroKernel.Facilities.AbstractFacility
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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