# File lib/logging/config/yaml_configurator.rb, line 177 def layout( config ) return if config.nil? config = config.dup type = config.delete('type') raise Error, 'Layout type not given' if type.nil? clazz = ::Logging::Layouts.const_get type clazz.new config end