Свойство | Тип | Описание | |
---|---|---|---|
ConfigureLog4Net | void | ||
CreateService | ILogService | ||
GetEntryAssembly | |||
GetRootLogger | global::log4net.Core.ILogger | ||
InitializeApplicationName | string |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | ILogLevelThresholdSelector |
public GetLogger ( |
||
type | The type. | |
additionalData | object>.IDictionary | The additional data. |
Результат | ILogService |
public Log4NetServiceFactory ( string configFile ) : System | ||
configFile | string | The path to a log4net configuration file (or empty to use app.config). |
Результат | System |