7 lines
317 B
Python
7 lines
317 B
Python
|
import logging
|
||
|
|
||
|
logging.basicConfig(format=u'%(filename)s [LINE:%(lineno)d] #%(levelname)-8s [%(asctime)s] %(message)s',
|
||
|
level=logging.INFO,
|
||
|
# level=logging.DEBUG, # Можно заменить на другой уровень логгирования.
|
||
|
)
|