sanic/sanic/log.py
2016-10-15 12:59:00 -07:00

5 lines
140 B
Python

import logging
logging.basicConfig(level=logging.INFO, format="%(asctime)s: %(levelname)s: %(message)s")
log = logging.getLogger(__name__)