Class: MIME::Types::WarnLogger
- Inherits:
-
Logger
- Object
- Logger
- MIME::Types::WarnLogger
- Defined in:
- lib/mime/types/logger.rb
Overview
:nodoc:
Defined Under Namespace
Classes: WarnLogDevice
Instance Method Summary collapse
-
#initialize(_one, _two = nil, _three = nil) ⇒ WarnLogger
constructor
A new instance of WarnLogger.
Constructor Details
#initialize(_one, _two = nil, _three = nil) ⇒ WarnLogger
Returns a new instance of WarnLogger.
28 29 30 31 32 |
# File 'lib/mime/types/logger.rb', line 28 def initialize(_one, _two = nil, _three = nil) super(nil) @logdev = WarnLogDevice.new @formatter = ->(_s, _d, _p, m) { m } end |