Module: LogStruct::Integrations::Puma::EventsPatch

Extended by:
T::Sig
Defined in:
lib/log_struct/integrations/puma.rb

Overview

Patch Puma::Events as a fallback for some versions where Events handles output

Instance Method Summary collapse

Instance Method Details

#log(str) ⇒ T.untyped

Parameters:

  • str (String)

Returns:

  • (T.untyped)


386
387
388
389
# File 'lib/log_struct/integrations/puma.rb', line 386

def log(str)
  consumed = ::LogStruct::Integrations::Puma.process_line(str)
  super unless consumed
end