sanic/sanic/log.py
Andrew Widdersheim 72fba62e09 Make it easier to override logging
Take influence from how Werkzeug configures logging by only configuring
a handler if no root handlers were previously configured by the end
user.
2017-01-20 18:26:55 -05:00

4 lines
49 B
Python

import logging
log = logging.getLogger('sanic')