class Ingenico::Connect::SDK::Logging::CommunicatorLogger
Base logger class used in this SDK
. This class is an interface and cannot be instantiated.
Public Class Methods
new()
click to toggle source
Interface, no instantiation @see Ingenico::Connect::SDK::Logging::StdoutCommunicatorLogger
@see Ingenico::Connect::SDK::Logging::RubyCommunicatorLogger
# File lib/ingenico/connect/sdk/logging/communicator_logger.rb, line 9 def initialize raise NotImplementedError.new("#{self.class.name} is not implemented.") end
Public Instance Methods
log(message, thrown=false)
click to toggle source
Logs a message with or without exception
@param message [String] the message to log @param thrown [Exception, false] the exception to log, or false to log no exception
# File lib/ingenico/connect/sdk/logging/communicator_logger.rb, line 17 def log(message, thrown=false) raise NotImplementedError.new("#{self.class.name}#log() is not implemented.") end