Class: CASClient::Logger::Formatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/casclient.rb

Constant Summary collapse

Format =
"[%s#%d] %5s -- %s: %s\n"

Instance Method Summary collapse

Instance Method Details

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



40
41
42
# File 'lib/casclient.rb', line 40

def call(severity, time, progname, msg)
  Format % [format_datetime(time), $$, severity, progname, msg2str(msg)]
end