Class: LogStashLogger::Formatter::Base

Inherits:
Logger::Formatter
  • Object
show all
Includes:
TaggedLogging::Formatter
Defined in:
lib/logstash-logger/formatter/base.rb

Direct Known Subclasses

Cee, Json, JsonLines, LogStashEvent

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


12
13
14
# File 'lib/logstash-logger/formatter/base.rb', line 12

def call(severity, time, progname, message)
  @event = build_event(message, severity, time)
end