Class: LogStashLogger::Formatter::CeeSyslog

Inherits:
Cee
  • Object
show all
Defined in:
lib/logstash-logger/formatter/cee_syslog.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
8
9
# File 'lib/logstash-logger/formatter/cee_syslog.rb', line 4

def call(severity, time, progname, message)
  @cee = super
  @progname = progname

  "#{facility}:#{@cee}\n"
end