Method: Logsly::Logging182::Layouts::Parseable.yaml
- Defined in:
- lib/logsly/logging182/layouts/parseable.rb
.yaml(opts = {}) ⇒ Object
call-seq:
Parseable.yaml( opts )
Create a new Parseable layout that outputs log events using YAML style formatting. See the initializer documentation for available options.
167 168 169 170 |
# File 'lib/logsly/logging182/layouts/parseable.rb', line 167 def self.yaml( opts = {} ) opts[:style] = 'yaml' new(opts) end |