Class: Herbert::LoggingProviders::StdoutProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/herbert/AppLogger.rb

Overview

Dumps all logs to STDOUT with pretty formating

Instance Method Summary collapse

Constructor Details

#initializeStdoutProvider

Returns a new instance of StdoutProvider.



74
75
76
# File 'lib/herbert/AppLogger.rb', line 74

def initialize
	require 'pp'
end

Instance Method Details

#save(log) ⇒ Object



78
79
80
# File 'lib/herbert/AppLogger.rb', line 78

def save(log)
	pp log
end