sedi-relay/relay/logging.py
2018-10-30 01:42:17 +00:00

9 lines
158 B
Python

import logging
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s] %(levelname)s: %(message)s",
handlers=[logging.StreamHandler()]
)