Class | Logging::Config::YamlConfigurator |
In: |
lib/logging/config/yaml_configurator.rb
|
Parent: | Object |
The YamlConfigurator class is used to configure the Logging framework using information found in a YAML file.
Creates a new Appender based on the given config options (a hash). The type of Appender created is determined by the ‘type’ option in the config. The remaining config options are passed to the Appender initializer.
The config options can also contain a ‘layout’ option. This should be another set of options used to create a Layout for this Appender.