C# Class Castle.Core.Logging.AbstractExtendedLoggerFactory.AbstractExtendedLoggerFactory

Inheritance: System.MarshalByRefObject, IExtendedLoggerFactory
Afficher le fichier Open project: 7digital/Castle.Core

Méthodes publiques

Méthode Description
Create ( Type type ) : IExtendedLogger

Creates a new extended logger, getting the logger name from the specified type.

Create ( Type type, LoggerLevel level ) : IExtendedLogger

Creates a new extended logger, getting the logger name from the specified type.

Create ( string name ) : IExtendedLogger

Creates a new extended logger.

Create ( string name, LoggerLevel level ) : IExtendedLogger

Creates a new extended logger.

Méthodes protégées

Méthode Description
GetConfigFile ( string fileName ) : FileInfo

Gets the configuration file.

Private Methods

Méthode Description
ILoggerFactory ( Type type ) : ILogger

Creates a new logger, getting the logger name from the specified type.

ILoggerFactory ( Type type, LoggerLevel level ) : ILogger

Creates a new logger, getting the logger name from the specified type.

ILoggerFactory ( string name ) : ILogger

Creates a new logger.

ILoggerFactory ( string name, LoggerLevel level ) : ILogger

Creates a new logger.

Method Details

Create() public méthode

Creates a new extended logger, getting the logger name from the specified type.
public Create ( Type type ) : IExtendedLogger
type System.Type
Résultat IExtendedLogger

Create() public méthode

Creates a new extended logger, getting the logger name from the specified type.
public Create ( Type type, LoggerLevel level ) : IExtendedLogger
type System.Type
level LoggerLevel
Résultat IExtendedLogger

Create() public abstract méthode

Creates a new extended logger.
public abstract Create ( string name ) : IExtendedLogger
name string
Résultat IExtendedLogger

Create() public abstract méthode

Creates a new extended logger.
public abstract Create ( string name, LoggerLevel level ) : IExtendedLogger
name string
level LoggerLevel
Résultat IExtendedLogger

GetConfigFile() protected static méthode

Gets the configuration file.
protected static GetConfigFile ( string fileName ) : FileInfo
fileName string i.e. log4net.config
Résultat System.IO.FileInfo