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