blob: c6381b2f8a9167b108ec5e2b7bce58e44e46e13d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import os
# Information
__license__ = 'GPLv3'
__version__ = '0.11'
__author__ = __maintainer__ = 'Alejandro Gallo'
__email__ = 'aamsgallo@gmail.com'
if os.environ.get('PAPIS_DEBUG'):
import logging
log_format = (
'%(relativeCreated)d-' +
'%(levelname)s' +
':' +
'%(name)s' +
':' +
'%(message)s'
)
logging.basicConfig(format=log_format, level=logging.DEBUG)
|