Accessor / Factory for the Basic layout.
# File lib/logging/layouts/basic.rb, line 6 def self.basic( *args ) return ::Logging::Layouts::Basic if args.empty? ::Logging::Layouts::Basic.new(*args) end
Factory for the Parseable layout using JSON formatting.
# File lib/logging/layouts/parseable.rb, line 12 def self.json( *args ) ::Logging::Layouts::Parseable.json(*args) end
Accessor for the Parseable layout.
# File lib/logging/layouts/parseable.rb, line 6 def self.parseable ::Logging::Layouts::Parseable end
Accessor / Factory for the Pattern layout.
# File lib/logging/layouts/pattern.rb, line 6 def self.pattern( *args ) return ::Logging::Layouts::Pattern if args.empty? ::Logging::Layouts::Pattern.new(*args) end
Factory for the Parseable layout using YAML formatting.
# File lib/logging/layouts/parseable.rb, line 18 def self.yaml( *args ) ::Logging::Layouts::Parseable.yaml(*args) end
Generated with the Darkfish Rdoc Generator 2.