Class: Worldline::Acquiring::SDK::Logging::CommunicatorLogger
- Inherits:
-
Object
- Object
- Worldline::Acquiring::SDK::Logging::CommunicatorLogger
- Defined in:
- lib/worldline/acquiring/sdk/logging/communicator_logger.rb
Overview
Base logger class used in this SDK. This class is an interface and cannot be instantiated.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ CommunicatorLogger
constructor
Interface, no instantiation.
-
#log(message, thrown = nil) ⇒ Object
Logs a message with or without exception.
Constructor Details
#initialize ⇒ CommunicatorLogger
Interface, no instantiation
11 12 13 |
# File 'lib/worldline/acquiring/sdk/logging/communicator_logger.rb', line 11 def initialize raise NotImplementedError.new("#{self.class.name} is not implemented.") end |
Instance Method Details
#log(message, thrown = nil) ⇒ Object
Logs a message with or without exception
19 20 21 |
# File 'lib/worldline/acquiring/sdk/logging/communicator_logger.rb', line 19 def log(, thrown = nil) raise NotImplementedError.new("#{self.class.name}#log() is not implemented.") end |