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 ffa9a6c
on February 1, 2023 at 18:44 UTC