Ice.Logger¶
- class Ice.Logger¶
Bases:
ABCThe Ice message logger.
Applications can provide their own logger by implementing this interface and installing it in a communicator.
- abstractmethod error(message: str)¶
Log an error message.
- Parameters:
message (str) – The error message to log.
- abstractmethod getPrefix() str¶
Get this logger’s prefix.
- Returns:
The prefix of this logger.
- Return type:
- abstractmethod print(message: str)¶
Print a message.
The message is printed literally, without any decorations such as executable name or timestamp.
- Parameters:
message (str) – The message to log.