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

◆ attachRemoteLoggerAsync()

virtual void Ice::AsyncLoggerAdmin::attachRemoteLoggerAsync ( std::optional< RemoteLoggerPrx > prx,
LogMessageTypeSeq messageTypes,
StringSeq traceCategories,
std::int32_t messageMax,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Attaches a Ice::RemoteLoggerPrx object to the local logger.

This operation calls Ice::RemoteLoggerPrx::init on prx.

Parameters
prxA proxy to the remote logger.
messageTypesThe list of message types that the remote logger wishes to receive. An empty list means no filtering (send all message types).
traceCategoriesThe 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).
messageMaxThe maximum number of log messages (of all types) to be provided to Ice::RemoteLoggerPrx::init. A negative value requests all messages available.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
Ice::RemoteLoggerAlreadyAttachedExceptionThrown if this remote logger is already attached to this admin object.