Class: Onlylogs::Logger

Inherits:
ActiveSupport::Logger
  • Object
show all
Includes:
ActiveSupport::TaggedLogging
Defined in:
lib/onlylogs/logger.rb

Direct Known Subclasses

SocketLogger

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Logger

Returns a new instance of Logger.



5
6
7
8
# File 'lib/onlylogs/logger.rb', line 5

def initialize(*args)
  super
  self.formatter = Onlylogs::Formatter.new
end