Class: ActiveLogger::Formatters::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/active_logger/formatters/default.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Base

#clear_tags!, #current_tags, #default_progname, #pid, #pop_tags, #push_tags, #tagged, #tags_text

Instance Method Details

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



7
8
9
# File 'lib/active_logger/formatters/default.rb', line 7

def call(severity, timestamp, progname, msg)
  super(severity, timestamp, progname || default_progname, "#{tags_text}#{msg}")
end