aioupnp/tests/__init__.py

8 lines
230 B
Python
Raw Normal View History

2018-10-01 15:51:31 +02:00
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)