Module: Atatus::Logging Private
- Included in:
- Agent, BaseTransport, CentralConfig, Collector::Base, Instrumenter, Metadata::CloudInfo, Metrics::CpuMemSet, Metrics::JVMSet, Metrics::Registry, Metrics::Set, Metrics::VMSet, Middleware, Spies::SneakersSpy, Subscriber, Transport::Base, Transport::Connection, Transport::Connection::Http, Transport::Connection::ProxyPipe::Write, Transport::Worker
- Defined in:
- lib/atatus/logging.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- PREFIX =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'[Atatus] '
- LEVELS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{ debug: Logger::DEBUG, info: Logger::INFO, warn: Logger::WARN, error: Logger::ERROR, fatal: Logger::FATAL }.freeze
Instance Method Summary collapse
- #debug(msg, *args, &block) ⇒ Object private
- #error(msg, *args, &block) ⇒ Object private
- #fatal(msg, *args, &block) ⇒ Object private
- #info(msg, *args, &block) ⇒ Object private
- #warn(msg, *args, &block) ⇒ Object private
Instance Method Details
#debug(msg, *args, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/atatus/logging.rb', line 33 def debug(msg, *args, &block) log(:debug, msg, *args, &block) end |
#error(msg, *args, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
45 46 47 |
# File 'lib/atatus/logging.rb', line 45 def error(msg, *args, &block) log(:error, msg, *args, &block) end |
#fatal(msg, *args, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 50 51 |
# File 'lib/atatus/logging.rb', line 49 def fatal(msg, *args, &block) log(:fatal, msg, *args, &block) end |
#info(msg, *args, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 |
# File 'lib/atatus/logging.rb', line 37 def info(msg, *args, &block) log(:info, msg, *args, &block) end |
#warn(msg, *args, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
41 42 43 |
# File 'lib/atatus/logging.rb', line 41 def warn(msg, *args, &block) log(:warn, msg, *args, &block) end |