mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 23:09:23 +01:00
6 lines
144 B
Python
6 lines
144 B
Python
|
import logging
|
||
|
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s [%(levelname)s] %(message)s')
|
||
|
|
||
|
global log
|
||
|
log = logging.getLogger()
|