lib/logging/config/yaml_configurator.rb in logging-0.6.3 vs lib/logging/config/yaml_configurator.rb in logging-0.7.0

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: yaml_configurator.rb 88 2008-02-08 18:47:36Z tim_pease $ +# $Id: yaml_configurator.rb 97 2008-02-13 00:32:18Z tim_pease $ require 'yaml' module Logging module Config @@ -87,10 +87,10 @@ # we do this to ensure that some logging levels are always defined config ||= Hash.new # define levels levels = config['define_levels'] - ::Logging.define_levels(levels) unless levels.nil? + ::Logging.init(levels) unless levels.nil? # format as format = config['format_as'] ::Logging.format_as(format) unless format.nil?