Class: Syslog::Logger::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/syslog/logger.rb

Overview

Default formatter for log messages.

Instance Method Summary collapse

Instance Method Details

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



50
51
52
# File 'lib/syslog/logger.rb', line 50

def call severity, time, progname, msg
  clean msg
end