Class: Avrolution::PassthruLogger
- Inherits:
-
Logger
- Object
- Logger
- Avrolution::PassthruLogger
- Defined in:
- lib/avrolution.rb
Instance Method Summary collapse
-
#initialize ⇒ PassthruLogger
constructor
A new instance of PassthruLogger.
Constructor Details
#initialize ⇒ PassthruLogger
Returns a new instance of PassthruLogger.
8 9 10 11 |
# File 'lib/avrolution.rb', line 8 def initialize(*) super @formatter = ->(_severity, _time, _progname, msg) { "#{msg}\n" } end |