Download src/robomme/logging_utils.py from Wenluo/RoboMME: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/spaces/Wenluo/RoboMME/resolve/main/src/robomme/logging_utils.py
- Command line
-
hf download hf://spaces/Wenluo/RoboMME/src/robomme/logging_utils.py
-
curl -L -o logging_utils.py https://huggingface.co/spaces/Wenluo/RoboMME/resolve/main/src/robomme/logging_utils.py
225 Bytes
| import logging | |
| logger = logging.getLogger("robomme") | |
| def setup_logging(level: str = "INFO"): | |
| logging.basicConfig( | |
| level=level, | |
| format='[%(levelname)s] [%(name)s] %(message)s', | |
| force=True, | |
| ) | |