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 13 def self.json( *args ) ::Logging::Layouts::Parseable.json(*args) end
Accessor for the Parseable layout.
# File lib/logging/layouts/parseable.rb, line 7 def self.parseable ::Logging::Layouts::Parseable end
Factory for the Parseable layout using YAML formatting.
# File lib/logging/layouts/parseable.rb, line 19 def self.yaml( *args ) ::Logging::Layouts::Parseable.yaml(*args) end