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



27
28
29
# File 'lib/upfluence/error_logger/null.rb', line 27

def middleware
  Middleware
end

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



21
22
23
# File 'lib/upfluence/error_logger/null.rb', line 21

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

#user=(_user) ⇒ Object



25
# File 'lib/upfluence/error_logger/null.rb', line 25

def user=(_user); end