Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
AbstractSimpleLoggerFactoryAdapter ( LogLevel level, bool showDateTime, bool showLogName, bool showLevel, string dateTimeFormat ) : Common.Logging.Factory |
Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class with default settings for the loggers created by this factory.
|
|
AbstractSimpleLoggerFactoryAdapter ( NameValueCollection properties ) : Common.Logging.Factory |
Initializes a new instance of the AbstractSimpleLoggerFactoryAdapter class. Looks for level, showDateTime, showLogName, dateTimeFormat items from |
|
CreateLogger ( string name ) : ILog |
Create the specified logger instance
|
|
CreateLogger ( string name, LogLevel level, bool showLevel, bool showDateTime, bool showLogName, string dateTimeFormat ) : ILog |
Derived factories need to implement this method to create the actual logger instance.
|
protected AbstractSimpleLoggerFactoryAdapter ( LogLevel level, bool showDateTime, bool showLogName, bool showLevel, string dateTimeFormat ) : Common.Logging.Factory | ||
level | LogLevel | |
showDateTime | bool | |
showLogName | bool | |
showLevel | bool | |
dateTimeFormat | string | |
Результат | Common.Logging.Factory |
protected AbstractSimpleLoggerFactoryAdapter ( NameValueCollection properties ) : Common.Logging.Factory | ||
properties | NameValueCollection | The key value collection, typically specified by the user in /// a configuration section named common/logging. |
Результат | Common.Logging.Factory |
protected CreateLogger ( string name ) : ILog | ||
name | string | |
Результат | ILog |
protected abstract CreateLogger ( string name, LogLevel level, bool showLevel, bool showDateTime, bool showLogName, string dateTimeFormat ) : ILog | ||
name | string | |
level | LogLevel | |
showLevel | bool | |
showDateTime | bool | |
showLogName | bool | |
dateTimeFormat | string | |
Результат | ILog |