Method: Sapience::ErrorHandler::Silent#initialize

Defined in:
lib/sapience/error_handler/silent.rb

#initialize(_options = {}) ⇒ Silent

level: [:trace | :debug | :info | :warn | :error | :fatal]

 Override the log level for this appender.
 Default: Sapience.config.default_level

dsn: [String]
  Url to configure Sentry-Raven.
  Default: nil


13
14
15
# File 'lib/sapience/error_handler/silent.rb', line 13

def initialize(_options = {})
  Sapience.logger.warn "Error handler is not configured. See documentation for more information."
end