C# Class JustAProgrammer.ADPR.Log4Net.ADPRLogManager

Afficher le fichier Open project: zippy1981/AppDomainPoshRunner

Méthodes publiques

Méthode Description
GetLogger ( Assembly assembly, string name ) : IADPRLog

Retrieve or create a named logger.

Retrieve a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

GetLogger ( Type type ) : IADPRLog

Shorthand for M:LogManager.GetLogger(string).

Get the logger for the fully qualified name of the type specified.

Private Methods

Méthode Description
WrapLogger ( ILogger logger ) : IADPRLog

Lookup the wrapper object for the logger specified

WrapperCreationHandler ( ILogger logger ) : ILoggerWrapper

Method to create the ILoggerWrapper objects used by this manager.

Method Details

GetLogger() public static méthode

Retrieve or create a named logger.

Retrieve a logger named as the name parameter. If the named logger already exists, then the existing instance will be returned. Otherwise, a new instance is created.

By default, loggers do not have a set level but inherit it from the hierarchy. This is one of the central features of log4net.

public static GetLogger ( Assembly assembly, string name ) : IADPRLog
assembly System.Reflection.Assembly the assembly to use to lookup the domain
name string The name of the logger to retrieve.
Résultat IADPRLog

GetLogger() public static méthode

Shorthand for M:LogManager.GetLogger(string).
Get the logger for the fully qualified name of the type specified.
public static GetLogger ( Type type ) : IADPRLog
type System.Type The full name of will /// be used as the name of the logger to retrieve.
Résultat IADPRLog