Class: NyplLogFormatter

Inherits:
Logger
  • Object
show all
Includes:
NyplLogFormatterVersion
Defined in:
lib/nypl_log_formatter.rb

Constant Summary

Constants included from NyplLogFormatterVersion

NyplLogFormatterVersion::VERSION

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ NyplLogFormatter

Returns a new instance of NyplLogFormatter.



9
10
11
12
13
# File 'lib/nypl_log_formatter.rb', line 9

def initialize(*args)
  super(*args)
  # This has to happen _after_ call to super, otherwise ::Logger will set the formatter
  set_formatter
end