Class: Sapience::ErrorHandler::Silent
- Inherits:
-
Sapience::ErrorHandler
- Object
- Sapience::ErrorHandler
- Sapience::ErrorHandler::Silent
- Defined in:
- lib/sapience/error_handler/silent.rb
Instance Method Summary collapse
- #capture_exception(_exception, _payload = {}) ⇒ Object
- #capture_message(_message, _payload = {}) ⇒ Object
-
#initialize(_options = {}) ⇒ Silent
constructor
level: [:trace | :debug | :info | :warn | :error | :fatal] Override the log level for this appender.
Methods included from Descendants
Constructor Details
#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
12 13 14 |
# File 'lib/sapience/error_handler/silent.rb', line 12 def initialize( = {}) Sapience.logger.warn "Error handler is not configured. See documentation for more information." end |
Instance Method Details
#capture_exception(_exception, _payload = {}) ⇒ Object
16 17 18 |
# File 'lib/sapience/error_handler/silent.rb', line 16 def capture_exception(_exception, _payload = {}) nil end |
#capture_message(_message, _payload = {}) ⇒ Object
20 21 22 |
# File 'lib/sapience/error_handler/silent.rb', line 20 def (, _payload = {}) nil end |