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(_1, _2 = nil, _3 = nil) ⇒ WarnLogger

Returns a new instance of WarnLogger


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

def initialize(_1, _2 = nil, _3 = nil)
  super nil
  @logdev = WarnLogDevice.new
  @formatter = ->(_s, _d, _p, m) { m }
end