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 Type
    Method
    Description
    void
    Turns off logging.
    void
    enableLogging(CommunicatorLogger communicatorLogger)
    Turns on logging using the given communicator logger.
  • Method Details

    • enableLogging

      void enableLogging(CommunicatorLogger communicatorLogger)
      Turns on logging using the given communicator logger.
      Throws:
      IllegalArgumentException - If the given communicator logger is null.
    • disableLogging

      void disableLogging()
      Turns off logging.