|
Joutsen Logging v0.5.0+26-g72240ac
|
A configuration element for the log handler. More...
Public Member Functions | |
| HandlerConfig () | |
| The default constructor for building handlers in code. | |
| HandlerConfig (IConfigurationSection section) | |
| Creates a new configuration object from the json configuration section. | |
| Handler | CreateHandler () |
| Creates the handler from the configuration. | |
Static Public Attributes | |
| const string | TYPE_KEY = "type" |
| The key in the configuration that defines the type of the format. | |
Static Protected Member Functions | |
| static FormatConfig | CreateFormat (IConfigurationSection section) |
| Creates a format config based on the type defined in the sction. | |
Properties | |
| FilterConfig | Filter [get, set] |
| The configured filter fo the handler. | |
A configuration element for the log handler.
| Joutsen.Logging.Configuration.HandlerConfig.HandlerConfig | ( | ) |
The default constructor for building handlers in code.
| Joutsen.Logging.Configuration.HandlerConfig.HandlerConfig | ( | IConfigurationSection | section | ) |
Creates a new configuration object from the json configuration section.
| section | the configuration section containing the values for the handler |
|
staticprotected |
Creates a format config based on the type defined in the sction.
|
abstract |
Creates the handler from the configuration.
|
static |
The key in the configuration that defines the type of the format.
|
getset |
The configured filter fo the handler.