Module: Appsignal::Utils::StdoutAndLoggerMessage Private
- Defined in:
- lib/appsignal/utils/stdout_and_logger_message.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.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.warning(message, logger = Appsignal.internal_logger) ⇒ 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.
6 7 8 9 |
# File 'lib/appsignal/utils/stdout_and_logger_message.rb', line 6 def self.warning(, logger = Appsignal.internal_logger) Kernel.warn "appsignal WARNING: #{}" logger.warn end |
Instance Method Details
#stdout_and_logger_warning(message, logger = Appsignal.internal_logger) ⇒ 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.
11 12 13 |
# File 'lib/appsignal/utils/stdout_and_logger_message.rb', line 11 def stdout_and_logger_warning(, logger = Appsignal.internal_logger) Appsignal::Utils::StdoutAndLoggerMessage.warning(, logger) end |