aioupnp/tests/__init__.py
2018-10-08 00:38:52 -04:00

7 lines
231 B
Python

import logging
log = logging.getLogger("aioupnp")
handler = logging.StreamHandler()
handler.setFormatter(logging.Formatter('%(asctime)-15s-%(filename)s:%(lineno)s->%(message)s'))
log.addHandler(handler)
log.setLevel(logging.INFO)