Class: Ingenico::Direct::SDK::Logging::CommunicatorLogger
- Inherits:
-
Object
- Object
- Ingenico::Direct::SDK::Logging::CommunicatorLogger
- Defined in:
- lib/ingenico/direct/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 = false) ⇒ Object
Logs a message with or without exception.
Constructor Details
#initialize ⇒ CommunicatorLogger
Interface, no instantiation
9 10 11 |
# File 'lib/ingenico/direct/sdk/logging/communicator_logger.rb', line 9 def initialize raise NotImplementedError, "#{self.class.name} is not implemented." end |
Instance Method Details
#log(message, thrown = false) ⇒ Object
Logs a message with or without exception
17 18 19 |
# File 'lib/ingenico/direct/sdk/logging/communicator_logger.rb', line 17 def log(, thrown = false) raise NotImplementedError, "#{self.class.name}#log() is not implemented." end |