Class: CoreLibrary::Logger
- Inherits:
-
Object
- Object
- CoreLibrary::Logger
- Defined in:
- lib/apimatic-core-interfaces/logger/logger.rb
Overview
An interface for the generic logger facade. This class should not be instantiated but should be used as a base class for Logger class.
Instance Method Summary collapse
-
#log(level, message, params) ⇒ Object
Logs a message with a specified log level and additional parameters.
Instance Method Details
#log(level, message, params) ⇒ Object
Logs a message with a specified log level and additional parameters.
10 11 12 |
# File 'lib/apimatic-core-interfaces/logger/logger.rb', line 10 def log(level, , params) raise NotImplementedError, 'This method needs to be implemented in a child class.' end |