C# 클래스 log4net.Ext.EventID.EventIDLogManager

파일 보기 프로젝트 열기: aurora-sim/Aurora-Libs

공개 메소드들

메소드 설명
Exists ( Assembly assembly, string name ) : IEventIDLog

Returns the named logger if it exists

If the named logger exists (in the specified assembly's domain) then it returns a reference to the logger, otherwise it returns null.

Exists ( string name ) : IEventIDLog

Returns the named logger if it exists

If the named logger exists (in the default hierarchy) then it returns a reference to the logger, otherwise it returns null.

Exists ( string domain, string name ) : IEventIDLog

Returns the named logger if it exists

If the named logger exists (in the specified domain) then it returns a reference to the logger, otherwise it returns null.

GetCurrentLoggers ( ) : IEventIDLog[]

Returns all the currently defined loggers in the default domain.

The root logger is not included in the returned array.

GetCurrentLoggers ( Assembly assembly ) : IEventIDLog[]

Returns all the currently defined loggers in the specified assembly's domain.

The root logger is not included in the returned array.

GetCurrentLoggers ( string domain ) : IEventIDLog[]

Returns all the currently defined loggers in the specified domain.

The root logger is not included in the returned array.

GetLogger ( Assembly assembly, Type type ) : IEventIDLog

Shorthand for LogManager.GetLogger(string).

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

GetLogger ( Assembly assembly, string name ) : IEventIDLog

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 ) : IEventIDLog

Shorthand for LogManager.GetLogger(string).

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

GetLogger ( string name ) : IEventIDLog

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 ( string domain, Type type ) : IEventIDLog

Shorthand for LogManager.GetLogger(string).

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

GetLogger ( string domain, string name ) : IEventIDLog

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.

비공개 메소드들

메소드 설명
EventIDLogManager ( ) : System

Private constructor to prevent object creation

WrapLogger ( ILogger logger ) : IEventIDLog

Lookup the wrapper object for the logger specified

WrapLoggers ( ILogger loggers ) : IEventIDLog[]

Lookup the wrapper objects for the loggers specified

WrapperCreationHandler ( ILogger logger ) : ILoggerWrapper

Method to create the ILoggerWrapper objects used by this manager.

메소드 상세

Exists() 공개 정적인 메소드

Returns the named logger if it exists

If the named logger exists (in the specified assembly's domain) then it returns a reference to the logger, otherwise it returns null.

public static Exists ( Assembly assembly, string name ) : IEventIDLog
assembly System.Reflection.Assembly the assembly to use to lookup the domain
name string The fully qualified logger name to look for
리턴 IEventIDLog

Exists() 공개 정적인 메소드

Returns the named logger if it exists

If the named logger exists (in the default hierarchy) then it returns a reference to the logger, otherwise it returns null.

public static Exists ( string name ) : IEventIDLog
name string The fully qualified logger name to look for
리턴 IEventIDLog

Exists() 공개 정적인 메소드

Returns the named logger if it exists

If the named logger exists (in the specified domain) then it returns a reference to the logger, otherwise it returns null.

public static Exists ( string domain, string name ) : IEventIDLog
domain string the domain to lookup in
name string The fully qualified logger name to look for
리턴 IEventIDLog

GetCurrentLoggers() 공개 정적인 메소드

Returns all the currently defined loggers in the default domain.

The root logger is not included in the returned array.

public static GetCurrentLoggers ( ) : IEventIDLog[]
리턴 IEventIDLog[]

GetCurrentLoggers() 공개 정적인 메소드

Returns all the currently defined loggers in the specified assembly's domain.
The root logger is not included in the returned array.
public static GetCurrentLoggers ( Assembly assembly ) : IEventIDLog[]
assembly System.Reflection.Assembly the assembly to use to lookup the domain
리턴 IEventIDLog[]

GetCurrentLoggers() 공개 정적인 메소드

Returns all the currently defined loggers in the specified domain.
The root logger is not included in the returned array.
public static GetCurrentLoggers ( string domain ) : IEventIDLog[]
domain string the domain to lookup in
리턴 IEventIDLog[]

GetLogger() 공개 정적인 메소드

Shorthand for LogManager.GetLogger(string).
Get the logger for the fully qualified name of the type specified.
public static GetLogger ( Assembly assembly, Type type ) : IEventIDLog
assembly System.Reflection.Assembly the assembly to use to lookup the domain
type System.Type The full name of will /// be used as the name of the logger to retrieve.
리턴 IEventIDLog

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 ) : IEventIDLog
assembly System.Reflection.Assembly the assembly to use to lookup the domain
name string The name of the logger to retrieve.
리턴 IEventIDLog

GetLogger() 공개 정적인 메소드

Shorthand for LogManager.GetLogger(string).
Get the logger for the fully qualified name of the type specified.
public static GetLogger ( Type type ) : IEventIDLog
type System.Type The full name of will /// be used as the name of the logger to retrieve.
리턴 IEventIDLog

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 ( string name ) : IEventIDLog
name string The name of the logger to retrieve.
리턴 IEventIDLog

GetLogger() 공개 정적인 메소드

Shorthand for LogManager.GetLogger(string).
Get the logger for the fully qualified name of the type specified.
public static GetLogger ( string domain, Type type ) : IEventIDLog
domain string the domain to lookup in
type System.Type The full name of will /// be used as the name of the logger to retrieve.
리턴 IEventIDLog

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 ( string domain, string name ) : IEventIDLog
domain string the domain to lookup in
name string The name of the logger to retrieve.
리턴 IEventIDLog