java.lang.Object
com.zeroc.Ice.LoggerPlugin
- All Implemented Interfaces:
Plugin
A special plug-in that installs a logger during a communicator's initialization.
Both initialize and destroy are no-op.
-
Constructor Summary
ConstructorsConstructorDescriptionLoggerPlugin(Communicator communicator, Logger logger) Constructs a logger plugin and installs a custom logger in the provided communicator. -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()This method is no-op.voidThis method is no-op.
-
Constructor Details
-
LoggerPlugin
Constructs a logger plugin and installs a custom logger in the provided communicator. The communicator takes ownership of theloggerand is responsible for closing it when the communicator is destroyed.- Parameters:
communicator- the communicator in which to install the loggerlogger- the logger to install
-
-
Method Details
-
initialize
public void initialize()This method is no-op.- Specified by:
initializein interfacePlugin
-
destroy
public void destroy()This method is no-op.
-