Ice 3.7 Slice API Reference
|
The interface of the admin object that allows an Ice application the attach its RemoteLogger to the Logger of this admin object's Ice communicator. More...
defined in <Ice/RemoteLogger.ice>
interface LoggerAdmin { ... }
Operations | |
void | attachRemoteLogger (RemoteLogger *prx, LogMessageTypeSeq messageTypes, StringSeq traceCategories, int messageMax) throws RemoteLoggerAlreadyAttachedException |
Attaches a RemoteLogger object to the local logger. More... | |
bool | detachRemoteLogger (RemoteLogger *prx) |
Detaches a RemoteLogger object from the local logger. More... | |
LogMessageSeq | getLog (LogMessageTypeSeq messageTypes, StringSeq traceCategories, int messageMax, out string prefix) |
Retrieves log messages recently logged. More... | |
The interface of the admin object that allows an Ice application the attach its RemoteLogger to the Logger of this admin object's Ice communicator.
void attachRemoteLogger | ( | RemoteLogger * | prx, |
LogMessageTypeSeq | messageTypes, | ||
StringSeq | traceCategories, | ||
int | messageMax | ||
) | throws RemoteLoggerAlreadyAttachedException |
Attaches a RemoteLogger object to the local logger.
attachRemoteLogger calls init on the provided RemoteLogger proxy.
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. |
bool detachRemoteLogger | ( | RemoteLogger * | prx | ) |
Detaches a RemoteLogger object from the local logger.
prx | A proxy to the remote logger. |
LogMessageSeq getLog | ( | LogMessageTypeSeq | messageTypes, |
StringSeq | traceCategories, | ||
int | messageMax, | ||
out string | prefix | ||
) |
Retrieves log messages recently logged.
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. |