Class: ObjectLogging::Log::Stdout

Inherits:
Base show all
Defined in:
lib/object_logging/log/stdout.rb

Instance Method Summary collapse

Methods inherited from Base

#clear, #entries, #initialize

Constructor Details

This class inherits a constructor from ObjectLogging::Log::Base

Instance Method Details

#log(level, context, message) ⇒ Object



7
8
9
10
# File 'lib/object_logging/log/stdout.rb', line 7

def log(level, context, message)
  super
  puts "[#{level.downcase}] #{context} #{message}"
end