Class: MIME::Types::WarnLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/mime/types/logger.rb

Overview

:nodoc:

Defined Under Namespace

Classes: WarnLogDevice

Instance Method Summary collapse

Constructor Details

#initialize(_one, _two = nil, _three = nil) ⇒ WarnLogger

Returns a new instance of WarnLogger.


30
31
32
33
34
# File 'lib/mime/types/logger.rb', line 30

def initialize(_one, _two = nil, _three = nil)
  super nil
  @logdev = WarnLogDevice.new
  @formatter = ->(_s, _d, _p, m) { m }
end