Class: Upfluence::ErrorLogger::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/upfluence/error_logger/null.rb

Defined Under Namespace

Classes: Middleware

Instance Method Summary collapse

Instance Method Details

#middlewareObject



18
19
20
# File 'lib/upfluence/error_logger/null.rb', line 18

def middleware
  Middleware
end

#notify(error, _method, *_args) ⇒ Object



14
15
16
# File 'lib/upfluence/error_logger/null.rb', line 14

def notify(error, _method, *_args)
  Upfluence.logger.error(error.inspect)
end