aioupnp/tests/__init__.py
Jack Robison 69f35aa54b
refactor
2018-10-04 17:06:02 -04:00

7 lines
230 B
Python

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