Package com.onlinepayments.logging
Interface LoggingCapable
- All Known Subinterfaces:
ClientInterface,Communicator,Connection,PooledConnection
- All Known Implementing Classes:
Client,DefaultCommunicator,DefaultConnection
public interface LoggingCapable
Classes that implement this interface have support for logging messages from communicators.
-
Method Summary
Modifier and TypeMethodDescriptionvoidTurns off logging.voidenableLogging(CommunicatorLogger communicatorLogger) Turns on logging using the given communicator logger.
-
Method Details
-
enableLogging
Turns on logging using the given communicator logger.- Throws:
IllegalArgumentException- If the given communicator logger isnull.
-
disableLogging
void disableLogging()Turns off logging.
-