feat: add colored and formatted logging

Add a custom logging setup function to add custom levels and custom
formatters (partly for future use with extended logging functionality).
Also implemented a basic colored formatter to make our logs nicer.

Also improved the handling of logging in external libraries, so now we
should only get WARNings or above.

ref: N25B-233
This commit is contained in:
2025-10-31 21:22:32 +01:00
parent 657c300bc7
commit d5de644828
6 changed files with 131 additions and 8 deletions

View File

@@ -0,0 +1 @@
from .setup_logging import setup_logging