Package com.zeroc.Ice

Class LoggerPlugin

java.lang.Object
com.zeroc.Ice.LoggerPlugin
All Implemented Interfaces:
Plugin

public class LoggerPlugin extends Object implements Plugin
A special plug-in that installs a logger during a communicator's initialization. Both initialize and destroy are no-op.
  • Constructor Details

    • LoggerPlugin

      public LoggerPlugin(Communicator communicator, Logger logger)
      Constructs a logger plugin and installs a custom logger in the provided communicator. The communicator takes ownership of the logger and is responsible for closing it when the communicator is destroyed.
      Parameters:
      communicator - the communicator in which to install the logger
      logger - the logger to install
  • Method Details

    • initialize

      public void initialize()
      This method is no-op.
      Specified by:
      initialize in interface Plugin
    • destroy

      public void destroy()
      This method is no-op.
      Specified by:
      destroy in interface Plugin