Ice.RemoteLogger¶
- class Ice.RemoteLogger¶
-
Represents an Ice object that accepts log messages. It’s called by the implementation of
Ice.LoggerAdminPrx.Notes
The Slice compiler generated this skeleton class from Slice interface
::Ice::RemoteLogger.- static ice_staticId() str¶
Obtain the type ID of the Slice interface.
- Returns:
The type ID.
- Return type:
- abstractmethod init(prefix: str, logMessages: list[LogMessage], current: Current) None | Awaitable[None]¶
Attaches a remote logger to the local logger.
- Parameters:
prefix (str) – The prefix of the associated local Logger.
logMessages (list[LogMessage]) – Old log messages generated before “now”.
current (Ice.Current) – The Current object for the dispatch.
- Returns:
None or an awaitable that completes when the dispatch completes.
- Return type:
None | Awaitable[None]
- abstractmethod log(message: LogMessage, current: Current) None | Awaitable[None]¶
Logs a LogMessage.
- Parameters:
message (LogMessage) – The message to log.
current (Ice.Current) – The Current object for the dispatch.
- Returns:
None or an awaitable that completes when the dispatch completes.
- Return type:
None | Awaitable[None]
Notes
Ice.RemoteLoggerPrx.logAsync()may be called byIce.LoggerAdminPrxbeforeIce.RemoteLoggerPrx.initAsync().