Class: LogStashLogger::Formatter::JsonLines

Inherits:
Base
  • Object
show all
Defined in:
lib/logstash-logger/formatter/json_lines.rb

Instance Method Summary collapse

Methods included from TaggedLogging::Formatter

#clear_tags!, #current_tags, #pop_tags, #push_tags, #tagged

Instance Method Details

#call(severity, time, progname, message) ⇒ Object



4
5
6
7
# File 'lib/logstash-logger/formatter/json_lines.rb', line 4

def call(severity, time, progname, message)
  super
  "#{@event.to_json}\n"
end