Spaces:
Running on Zero
Running on Zero
Download app/core/logging.py from cipher-attacks/Dbu-central-bot: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/spaces/cipher-attacks/Dbu-central-bot/resolve/main/app/core/logging.py
- Command line
-
hf download hf://spaces/cipher-attacks/Dbu-central-bot/app/core/logging.py
-
curl -L -o logging.py https://huggingface.co/spaces/cipher-attacks/Dbu-central-bot/resolve/main/app/core/logging.py
220 Bytes
| import logging | |
| from app.config import get_settings | |
| def setup_logging() -> None: | |
| logging.basicConfig( | |
| level=get_settings().log_level, | |
| format="%(asctime)s %(levelname)s %(name)s: %(message)s", | |
| ) | |