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.



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