sanic/sanic/log.py

5 lines
140 B
Python
Raw Normal View History

2016-10-15 20:59:00 +01:00
import logging
logging.basicConfig(level=logging.INFO, format="%(asctime)s: %(levelname)s: %(message)s")
log = logging.getLogger(__name__)