Class: OrientSupport::DefaultFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/support/logging.rb,
lib/support/default_formatter.rb

Class Method Summary collapse

Class Method Details

.call(severity, time, program_name, msg) ⇒ Object



33
34
35
# File 'lib/support/logging.rb', line 33

def self.call(severity, time, program_name, msg)
	"#{time.strftime("%d.%m.(%X)")}#{"%5s" % severity}->#{msg}\n"
end