C# 클래스 JustAProgrammer.ADPR.Log4Net.ADPRLogManager

파일 보기 프로젝트 열기: zippy1981/AppDomainPoshRunner

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

GetLogger() 공개 정적인 메소드

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.
리턴 IADPRLog

GetLogger() 공개 정적인 메소드

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.
리턴 IADPRLog