sanic/sanic/log.py
2016-10-16 08:01:59 -05:00

6 lines
145 B
Python

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