|
Class Log4r::Configurator |
|
| Methods |
| Public Class methods |
| [](param) src |
Get a parameter’s value
| []=(param, value) src |
Define a parameter with a value
| custom_levels(*levels) src |
Sets the custom levels. This method accepts symbols or strings.
Configurator.custom_levels('My', 'Custom', :Levels)
Alternatively, you can specify custom levels in XML:
<log4r_config>
<pre_config>
<custom_levels>
My, Custom, Levels
</custom_levels>
...
| load_xml_file(filename) src |
Given a filename, loads the XML configuration for Log4r.
| load_xml_string(string) src |
You can load a String XML configuration instead of a file.