Class: MIME::Types::WarnLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/mime-types-3.4.1/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/mime-types-3.4.1/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