Source code for ingenico.connect.sdk.log.logging_capable
[docs]class LoggingCapable(object):
"""
Classes that extend this class have support for log messages from
communicators.
"""
[docs] def enable_logging(self, communicator_logger):
"""
Turns on logging using the given communicator logger.
:raise: ValueError If the given communicator logger is None.
"""
raise NotImplementedError