Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getLogAsync()

virtual void Ice::AsyncLoggerAdmin::getLogAsync ( LogMessageTypeSeq messageTypes,
StringSeq traceCategories,
std::int32_t messageMax,
std::function< void(const LogMessageSeq &returnValue, std::string_view prefix)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Retrieves recently logged log messages.

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 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).
messageMaxThe maximum number of log messages (of all types) to be returned. A negative value requests all messages available.
responseThe response callback. It accepts:
  • returnValue The Log messages.
  • prefix The prefix of the associated local logger.
exceptionThe exception callback.
currentThe Current object of the incoming request.