Class: Mammoth::Logging::NullLogger
- Inherits:
-
Object
- Object
- Mammoth::Logging::NullLogger
- Defined in:
- lib/mammoth/logging.rb
Overview
No-op logger used at injectable library boundaries.
Constant Summary collapse
- INSTANCE =
new
Instance Method Summary collapse
- #debug(_event, **_context) ⇒ Object
- #enabled?(_severity) ⇒ Boolean
- #error(_event, **_context) ⇒ Object
- #info(_event, **_context) ⇒ Object
- #warn(_event, **_context) ⇒ Object
Instance Method Details
#debug(_event, **_context) ⇒ Object
47 |
# File 'lib/mammoth/logging.rb', line 47 def debug(_event, **_context) = false |
#enabled?(_severity) ⇒ Boolean
51 |
# File 'lib/mammoth/logging.rb', line 51 def enabled?(_severity) = false |
#error(_event, **_context) ⇒ Object
50 |
# File 'lib/mammoth/logging.rb', line 50 def error(_event, **_context) = false |
#info(_event, **_context) ⇒ Object
48 |
# File 'lib/mammoth/logging.rb', line 48 def info(_event, **_context) = false |
#warn(_event, **_context) ⇒ Object
49 |
# File 'lib/mammoth/logging.rb', line 49 def warn(_event, **_context) = false |