Class: Yabeda::Datadog::Logging
- Inherits:
-
Object
- Object
- Yabeda::Datadog::Logging
- Includes:
- Singleton
- Defined in:
- lib/yabeda/datadog/logging.rb
Overview
Perform loging
Instance Method Summary collapse
- #debug(message) ⇒ Object
- #error(message) ⇒ Object
- #fatal(message) ⇒ Object
- #info(message) ⇒ Object
-
#initialize ⇒ Logging
constructor
A new instance of Logging.
- #level=(level) ⇒ Object
- #warn(message) ⇒ Object
Constructor Details
Instance Method Details
#debug(message) ⇒ Object
26 27 28 |
# File 'lib/yabeda/datadog/logging.rb', line 26 def debug() @logger.debug() end |
#error(message) ⇒ Object
34 35 36 |
# File 'lib/yabeda/datadog/logging.rb', line 34 def error() @logger.error() end |
#fatal(message) ⇒ Object
30 31 32 |
# File 'lib/yabeda/datadog/logging.rb', line 30 def fatal() @logger.fatal() end |
#info(message) ⇒ Object
22 23 24 |
# File 'lib/yabeda/datadog/logging.rb', line 22 def info() @logger.info() end |
#level=(level) ⇒ Object
38 39 40 |
# File 'lib/yabeda/datadog/logging.rb', line 38 def level=(level) @logger.level = level end |
#warn(message) ⇒ Object
18 19 20 |
# File 'lib/yabeda/datadog/logging.rb', line 18 def warn() @logger.warn() end |