Class: Herbert::LoggingProviders::StdoutProvider
- Inherits:
-
Object
- Object
- Herbert::LoggingProviders::StdoutProvider
- Defined in:
- lib/herbert/AppLogger.rb
Overview
Dumps all logs to STDOUT with pretty formating
Instance Method Summary collapse
-
#initialize ⇒ StdoutProvider
constructor
A new instance of StdoutProvider.
- #save(log) ⇒ Object
Constructor Details
#initialize ⇒ StdoutProvider
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 |