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



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

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