HOOKS vs. Passing Logger-Instance to Instructor #1238
timothytrust
started this conversation in
General
Replies: 1 comment
-
Also another addition to this discussion: I would love to pass a dedicated logger for the Hook to use. Currently, it just feels hacky & the docs "print" stuff to console, which is not production ready in my opinion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HOOKS are great
I really love the introduction of Hooks, as it lets me hook specific information from the instructor-instance and log information about my program and how it behaves. Thank you for the introduction of hooks.
Question: why not support logging-instances?
What I am missing in this context: why can't I pass a specific logging-instance, which the Instructor instance will adopt to perform all logging operations? Currently, lots of instructor files simply generate a new logging instance up top of the file and creates a new logger, wich is not desired in my program.
Feature Request: support the passing of an optional logger, which can be passed by the user to also log instructor related debuging / information with that specific logger.
Beta Was this translation helpful? Give feedback.
All reactions