Replies: 1 comment 1 reply
-
Hi! Sounds like you're looking for the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use a logger inside a function imported from another module?
Without prefect I would simple define a logger via
logger=logging.getLogger(__name__)
inside each submodule (f.e.foo.py
).However when I use this approach the log-messages from the
bar
-function are not displayed as can be seen on the screenshot below.What would be the correct approach?
Beta Was this translation helpful? Give feedback.
All reactions