Method: Logsly::Logging182::Layouts::Parseable.json

Defined in:
lib/logsly/logging182/layouts/parseable.rb

.json(opts = {}) ⇒ Object

call-seq:

Parseable.json( opts )

Create a new Parseable layout that outputs log events using JSON style formatting. See the initializer documentation for available options.



156
157
158
159
# File 'lib/logsly/logging182/layouts/parseable.rb', line 156

def self.json( opts = {} )
  opts[:style] = 'json'
  new(opts)
end