[b4a150]: / Configs / __pycache__ / Logger.cpython-35.pyc

Download this file

17 lines (17 with data), 1.7 kB



╝÷ýYî	Ń@shdZddlZddlZdZdZdgZdZdZdZdZ	dZ
Gd	d
äd
âZdS)z. It configures the Python application logger.
ÚNzMohsen Mesgarpourz-Copyright 2016, https://github.com/mesgarpour┌GPLz1.0zmohsen.mesgarpour@gmail.com┌Releasec@s.eZdZdeeedddÉäZdS)┌Logger┌log)┌path┌app_name┌extc	Csňtj|â}|jtjâtjjtjj||d|ââ}tj|ddâ}|jtjâtj	â}|jtj
âtjdâ}|j|â|j|â|j
|â|j
|â|jd|dâdS)a	Initialise the objects and constants.
        :param path: the output directory path, where the log file will be saved.
        :param app_name: the application name, which will be used as the log file name.
        :param ext: the log file extension name.
        ┌.┌mode┌wz4%(asctime)s - %(name)s - %(levelname)s - %(message)sz
Creating 'z' File.N)┌logging┌	getLogger┌setLevel┌DEBUG┌osr┌abspath┌join┌FileHandler┌
StreamHandler┌INFO┌	Formatter┌setFormatter┌
addHandler┌info)	┌selfrrr┌loggerZ	path_full┌fh┌ch┌	formatteręr˙FC:\Users\eagle\Documents\GitHub\Analytics_UoW\TCARER\Configs\Logger.py┌__init__#s
)



zLogger.__init__N)┌__name__┌
__module__┌__qualname__┌strr!rrrr r"sr)┌__doc__rr┌
__author__┌
__copyright__┌__credits__┌__license__┌__version__┌__maintainer__┌	__email__┌
__status__rrrrr ┌<module>s