[9f60b7]: / 3DNet / util / logger.py

Download this file

8 lines (6 with data), 201 Bytes

1
2
3
4
5
6
7
import logging
logging.basicConfig(
format='%(asctime)s %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s',
datefmt='%Y-%m-%d %H:%M:%S',
level=logging.DEBUG)
log = logging.getLogger()