public interface _LoggerAdminOperationsNC
RemoteLogger to the Logger of this admin object's Ice communicator.| Modifier and Type | Method and Description |
|---|---|
void |
attachRemoteLogger(RemoteLoggerPrx prx,
LogMessageType[] messageTypes,
java.lang.String[] traceCategories,
int messageMax)
Attaches a RemoteLogger object to the local logger.
|
boolean |
detachRemoteLogger(RemoteLoggerPrx prx)
Detaches a RemoteLogger object from the local logger.
|
LogMessage[] |
getLog(LogMessageType[] messageTypes,
java.lang.String[] traceCategories,
int messageMax,
StringHolder prefix)
Retrieves log messages recently logged.
|
void attachRemoteLogger(RemoteLoggerPrx prx, LogMessageType[] messageTypes, java.lang.String[] traceCategories, int messageMax) throws RemoteLoggerAlreadyAttachedException
prx - A proxy to the remote logger.messageTypes - The list of message types that the remote logger wishes to receive.
An empty list means no filtering (send all message types).traceCategories - The categories of traces that the remote logger wishes to receive.
This parameter is ignored if messageTypes is not empty and does not include trace.
An empty list means no filtering (send all trace categories).messageMax - The maximum number of log messages (of all types) to be provided
to init. A negative value requests all messages available.RemoteLoggerAlreadyAttachedException - Raised if this remote logger is already
attached to this admin object.boolean detachRemoteLogger(RemoteLoggerPrx prx)
prx - A proxy to the remote logger.LogMessage[] getLog(LogMessageType[] messageTypes, java.lang.String[] traceCategories, int messageMax, StringHolder prefix)
messageTypes - The list of message types that the caller wishes to receive.
An empty list means no filtering (send all message types).traceCategories - The categories of traces that caller wish to receive.
This parameter is ignored if messageTypes is not empty and does not include trace.
An empty list means no filtering (send all trace categories).messageMax - The maximum number of log messages (of all types) to be returned.
A negative value requests all messages available.prefix - The prefix of the associated local logger.