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.
6 7 8 9 |
# File 'lib/avrolution.rb', line 6 def initialize(*) super @formatter = ->(_severity, _time, _progname, msg) { "#{msg}\n" } end |