Passed
Push — master ( 653794...1bc565 )
by torrua
01:28
created

app.logger   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 0
1
import logging
2
3
logging.basicConfig(
4
    # format='%(message)s',
5
    format="%(filename)s [LINE:%(lineno)d]"
6
    "\t[%(asctime)s] %(levelname)-s"
7
    "\t%(funcName)s() \t\t%(message)s",
8
    level=logging.DEBUG,
9
    datefmt="%y-%m-%d %H:%M:%S",
10
)
11
log = logging.getLogger(__name__)
12