feat: set up structlog logging (#325)
Some checks are pending
Publish Artifacts / Build distribution 📦 (push) Waiting to run
Python Formatting Check / formatting (push) Waiting to run

This ports the logging from `logging` to `structlog`. This updates
all of the logger instantiations along with all of the places
`logging` was called. Data that was being inlined into log statements
has been broken out so that it's now structured arguments to the
log statements instead.
This commit is contained in:
Misty De Méo 2025-02-24 16:31:09 -08:00 committed by GitHub
parent 69d682beb9
commit 23cee477dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 421 additions and 396 deletions

View file

@ -76,6 +76,7 @@ setuptools.setup(
"cryptography>=2.3",
"python-magic>=0.4.15",
"prometheus-client>=0.20.0",
"structlog>=25.1.0",
],
extras_require={
"yt-dlp": ["yt-dlp>=2024.7.25"],