File size: 248 Bytes
8870024
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python2
# -*- coding: utf-8 -*-

import logging

__all__ = ['log']


FORMAT = "%(asctime)s [%(filename)s:%(funcName)s:%(lineno)d] %(message)s"

log = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO, format=FORMAT)