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


42
43
44
# File 'lib/syslog/logger.rb', line 42

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