Property | Type | Description | |
---|---|---|---|
ConfigureLog4Net | void | ||
CreateService | ILogService | ||
GetEntryAssembly | |||
GetRootLogger | global::log4net.Core.ILogger | ||
InitializeApplicationName | string |
Method | Description | |
---|---|---|
AppendLogService ( ILogService logService, object>.IDictionary |
Appends the specified log service to a root log service (the current instance).
|
|
GetLogger ( |
Obtains an instance of the logger service for the specified type and optional additional data.
|
|
Log4NetServiceFactory ( ) : System |
Initializes a new instance of the Log4NetServiceFactory class.
|
|
Log4NetServiceFactory ( string configFile ) : System |
Initializes a new instance of the Log4NetServiceFactory class.
|
|
Shutdown ( ) : void |
Closes all the resources held by the various loggers.
|
Method | Description | |
---|---|---|
ConfigureLog4Net ( string filename ) : void | ||
CreateService ( |
Creates the logging service and return the newly created instance. The configuration file used by log4net will be the application's configuration file (web.config ou app.exe.config) which will have to contain a <log4net> section. |
|
GetEntryAssembly ( ) : |
||
GetRootLogger ( ) : global::log4net.Core.ILogger | ||
InitializeApplicationName ( ) : string |
public AppendLogService ( ILogService logService, object>.IDictionary |
||
logService | ILogService | The log service. |
additionalData | object>.IDictionary | The optional additional data. |
return | ILogLevelThresholdSelector |
public GetLogger ( |
||
type | The type. | |
additionalData | object>.IDictionary | The additional data. |
return | ILogService |
public Log4NetServiceFactory ( string configFile ) : System | ||
configFile | string | The path to a log4net configuration file (or empty to use app.config). |
return | System |