Method | Description | |
---|---|---|
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 |
|
Exists ( string name ) : ITraceLog |
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 |
|
Exists ( string domain, string name ) : ITraceLog |
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 |
|
GetCurrentLoggers ( ) : ITraceLog[] |
Returns all the currently defined loggers in the default domain. The root logger is not included in the returned array. |
|
GetCurrentLoggers ( |
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 ) : ITraceLog[] |
Returns all the currently defined loggers in the specified domain. The root logger is not included in the returned array. |
|
GetLogger ( |
Shorthand for LogManager.GetLogger(string). Get the logger for the fully qualified name of the type specified. |
|
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. |
|
GetLogger ( |
Shorthand for LogManager.GetLogger(string). Get the logger for the fully qualified name of the type specified. |
|
GetLogger ( string name ) : ITraceLog |
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, |
Shorthand for LogManager.GetLogger(string). Get the logger for the fully qualified name of the type specified. |
|
GetLogger ( string domain, string name ) : ITraceLog |
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. |
Method | Description | |
---|---|---|
TraceLogManager ( ) : System |
Private constructor to prevent object creation
|
|
WrapLogger ( ILogger logger ) : ITraceLog |
Lookup the wrapper object for the logger specified
|
|
WrapLoggers ( ILogger loggers ) : ITraceLog[] |
Lookup the wrapper objects for the loggers specified
|
|
WrapperCreationHandler ( ILogger logger ) : ILoggerWrapper |
Method to create the ILoggerWrapper objects used by this manager.
|
public static Exists ( |
||
assembly | the assembly to use to lookup the domain | |
name | string | The fully qualified logger name to look for |
return | ITraceLog |
public static Exists ( string name ) : ITraceLog | ||
name | string | The fully qualified logger name to look for |
return | ITraceLog |
public static Exists ( string domain, string name ) : ITraceLog | ||
domain | string | the domain to lookup in |
name | string | The fully qualified logger name to look for |
return | ITraceLog |
public static GetCurrentLoggers ( ) : ITraceLog[] | ||
return | ITraceLog[] |
public static GetCurrentLoggers ( |
||
assembly | the assembly to use to lookup the domain | |
return | ITraceLog[] |
public static GetCurrentLoggers ( string domain ) : ITraceLog[] | ||
domain | string | the domain to lookup in |
return | ITraceLog[] |
public static GetLogger ( |
||
assembly | the assembly to use to lookup the domain | |
type | The full name of |
|
return | ITraceLog |
public static GetLogger ( |
||
assembly | the assembly to use to lookup the domain | |
name | string | The name of the logger to retrieve. |
return | ITraceLog |
public static GetLogger ( |
||
type | The full name of |
|
return | ITraceLog |
public static GetLogger ( string name ) : ITraceLog | ||
name | string | The name of the logger to retrieve. |
return | ITraceLog |
public static GetLogger ( string domain, |
||
domain | string | the domain to lookup in |
type | The full name of |
|
return | ITraceLog |
public static GetLogger ( string domain, string name ) : ITraceLog | ||
domain | string | the domain to lookup in |
name | string | The name of the logger to retrieve. |
return | ITraceLog |