Ice.Logger¶
- class Ice.Logger¶
Bases:
ABCRepresents Ice’s abstraction for logging and tracing.
Applications can provide their own logger by implementing this abstraction and setting a logger on the communicator.
- abstractmethod print(message: str)¶
Prints a message.
The message is printed literally, without any decorations such as executable name or timestamp.
- Parameters:
message (str) – The message to log.
- abstractmethod warning(message: str)¶
Logs a warning message.
- Parameters:
message (str) – The warning message to log.
- abstractmethod error(message: str)¶
Logs an error message.
- Parameters:
message (str) – The error message to log.