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(_options: {}) ⇒ Object (also: #capture!)
- #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.
- #tags_context(_options = {}) ⇒ Object
- #user_context(_options = {}) ⇒ Object
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
13 14 15 |
# File 'lib/sapience/error_handler/silent.rb', line 13 def initialize( = {}) Sapience.logger.warn "Error handler is not configured. See documentation for more information." end |
Instance Method Details
#capture(_options: {}) ⇒ Object Also known as: capture!
25 26 27 |
# File 'lib/sapience/error_handler/silent.rb', line 25 def capture(_options: {}) nil end |
#capture_exception(_exception, _payload = {}) ⇒ Object
17 18 19 |
# File 'lib/sapience/error_handler/silent.rb', line 17 def capture_exception(_exception, _payload = {}) nil end |
#capture_message(_message, _payload = {}) ⇒ Object
21 22 23 |
# File 'lib/sapience/error_handler/silent.rb', line 21 def (, _payload = {}) nil end |
#tags_context(_options = {}) ⇒ Object
34 35 36 |
# File 'lib/sapience/error_handler/silent.rb', line 34 def ( = {}) nil end |
#user_context(_options = {}) ⇒ Object
30 31 32 |
# File 'lib/sapience/error_handler/silent.rb', line 30 def user_context( = {}) nil end |