Class Log4r::Configurator
In: /home/cepheus/projects/prep/log4r-1.0.0/src/log4r/configurator.rb
Parent: Object
Methods
[]    []=    custom_levels    load_xml_file    load_xml_string   
Included modules
REXML
Public Class methods
[](param)
Get a parameter's value
[]=(param, value)
Define a parameter with a value
custom_levels(*levels)
Sets the custom levels. Method accepts symbols or strings.

  Configurator.custom_levels('My', 'Custom', 'Levels')

Or, you can specify it in XML:

  <log4r_config>
    <pre_config>
      <custom_levels>My, Custom, Levels</custom_levels>
      ...
load_xml_file(filename)
Given a filename, loads the XML configuration for Log4r.
load_xml_string(string)
You can load a String XML configuration instead of a file.