Utility functions for interacting with and configuring logging. The main entrypoint for
retrieving loggers for customization is the
Note that Prefect Tasks come equipped with their own loggers. These can be accessed via:
self.logger if implementing a Task class
prefect.context.get("logger") if using the
When running locally, log levels and message formatting are set via your Prefect configuration file.
Creates a "prefect" root logger with a
Returns a "prefect" logger.
This documentation was auto-generated from commit e6bd04a
on September 7, 2022 at 21:06 UTC