Class: Logger::Formatter

Inherits:
Object show all
Defined in:
lib/ontomde-core/log.rb

Constant Summary collapse

XMDA_Format =
"-- %-5s-- %s\n"

Instance Method Summary collapse

Instance Method Details

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



27
28
29
# File 'lib/ontomde-core/log.rb', line 27

def call(severity, time, progname, msg)
  XMDA_Format % [severity, msg2str(msg)]
end

#call_baseObject

overide standard logger method



26
# File 'lib/ontomde-core/log.rb', line 26

alias :call_base :call