S
Solara6d ago
pikaa

Making a logger per kernel/user

I'm looking to make a logger instance for each individual kernel/user. How should I go about instantiating one and ensuring it's passed properly between different parts of the codebase? My initial thought was:
sl.lab.on_kernel_start()
def setup():
# something here... so we can always show it with the kernel ID.
# now how do we pass it down to different instances?
sl.lab.on_kernel_start()
def setup():
# something here... so we can always show it with the kernel ID.
# now how do we pass it down to different instances?
But you aren't really able to configure them individually if they're under the same name.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?