Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ getLog()

LogMessageSeq getLog ( LogMessageTypeSeq messageTypes,
StringSeq traceCategories,
int messageMax,
out string prefix )

Retrieves the most recent log messages cached by this facet, oldest first.

The properties Ice.Admin.Logger.KeepLogs and Ice.Admin.Logger.KeepTraces set how many log messages it caches.

Parameters
messageTypesThe list of message types that the caller wishes to receive. An empty list means no filtering (send all message types).
traceCategoriesThe categories of traces that the caller 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).
messageMaxThe maximum number of log messages (of all types) to be returned. A negative value requests all the cached messages, and 0 requests none.
prefixThe prefix of the associated local logger.
Returns
The log messages.