module Logsly::Logging182::Layouts
Public Class Methods
basic( *args )
click to toggle source
Accessor / Factory for the Basic
layout.
# File lib/logsly/logging182/layouts/basic.rb, line 6 def self.basic( *args ) return ::Logsly::Logging182::Layouts::Basic if args.empty? ::Logsly::Logging182::Layouts::Basic.new(*args) end
json( *args )
click to toggle source
Factory for the Parseable
layout using JSON formatting.
# File lib/logsly/logging182/layouts/parseable.rb, line 12 def self.json( *args ) ::Logsly::Logging182::Layouts::Parseable.json(*args) end
parseable()
click to toggle source
Accessor for the Parseable
layout.
# File lib/logsly/logging182/layouts/parseable.rb, line 6 def self.parseable ::Logsly::Logging182::Layouts::Parseable end
pattern( *args )
click to toggle source
Accessor / Factory for the Pattern
layout.
# File lib/logsly/logging182/layouts/pattern.rb, line 6 def self.pattern( *args ) return ::Logsly::Logging182::Layouts::Pattern if args.empty? ::Logsly::Logging182::Layouts::Pattern.new(*args) end
yaml( *args )
click to toggle source
Factory for the Parseable
layout using YAML formatting.
# File lib/logsly/logging182/layouts/parseable.rb, line 18 def self.yaml( *args ) ::Logsly::Logging182::Layouts::Parseable.yaml(*args) end