Module: Bridgetown::Webfinger::Logging
Overview
Helper methods for logging purposes
Class Method Summary collapse
-
.included(base) ⇒ void
private
When including the module, also extend it as well.
Instance Method Summary collapse
-
#warn(msg) ⇒ void
Sends a warning message through the Bridgetown logger.
Class Method Details
.included(base) ⇒ void
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.
This method returns an undefined value.
When including the module, also extend it as well
15 16 17 18 |
# File 'lib/bridgetown/webfinger/logging.rb', line 15 def self.included(base) super base.extend(self) end |
Instance Method Details
#warn(msg) ⇒ void
This method returns an undefined value.
Sends a warning message through the Bridgetown logger
32 33 34 35 |
# File 'lib/bridgetown/webfinger/logging.rb', line 32 def warn(msg) Bridgetown.logger.warn(msg) nil end |