C# Class Common.Logging.MultipleLogger.MultiLoggerFactoryAdapter

Multi Factory Logger Factory Adapter can use multiple logging factory implementations to send a log item to multiple logging engines.
Inheritance: ILoggerFactoryAdapter
Afficher le fichier Open project: net-commons/common-logging

Méthodes publiques

Свойство Type Description
LoggerFactoryAdapters List

Méthodes publiques

Méthode Description
GetLogger ( Type type ) : ILog

Get a ILog instance by type.

GetLogger ( string loggerName ) : ILog

Gets the logger.

MultiLoggerFactoryAdapter ( ) : System

Initializes a new instance of the MultiLoggerFactoryAdapter class.

MultiLoggerFactoryAdapter ( List factoryAdapters ) : System

Initializes a new instance of the MultiLoggerFactoryAdapter class.

MultiLoggerFactoryAdapter ( NameValueCollection properties ) : System

Method Details

GetLogger() public méthode

Get a ILog instance by type.
public GetLogger ( Type type ) : ILog
type System.Type The type to use for the logger
Résultat ILog

GetLogger() public méthode

Gets the logger.
public GetLogger ( string loggerName ) : ILog
loggerName string Name of the logger.
Résultat ILog

MultiLoggerFactoryAdapter() public méthode

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

MultiLoggerFactoryAdapter() public méthode

Initializes a new instance of the MultiLoggerFactoryAdapter class.
public MultiLoggerFactoryAdapter ( List factoryAdapters ) : System
factoryAdapters List The factory adapters.
Résultat System

MultiLoggerFactoryAdapter() public méthode

public MultiLoggerFactoryAdapter ( NameValueCollection properties ) : System
properties NameValueCollection
Résultat System

Property Details

LoggerFactoryAdapters public_oe property

Registered Logger Factory Adapters.
public List LoggerFactoryAdapters
Résultat List