ExecutionContext.logger
python
ExecutionContext.logger: StructuredLoggerStructured logger for logs emitted by the currently executing task.
Methods
python
context.logger.debug(message, /, *args, **attributes) -> None
context.logger.info(message, /, *args, **attributes) -> None
context.logger.warning(message, /, *args, **attributes) -> None
context.logger.error(message, /, *args, **attributes) -> None
context.logger.exception(message, /, *args, **attributes) -> None
context.logger.critical(message, /, *args, **attributes) -> None
context.logger.bind(**attributes) -> StructuredLoggerStructured attributes are attached to the log record and become searchable telemetry attributes.