loggerj

Module to facilitate the creation of logs with logging


Keywords
log
License
MIT
Install
pip install loggerj==1.0

Documentation

loggerj

Build status

Module to facilitate the creation of logs with logging

Installation

pip install loggerj

Example:

Types of log

DEBUG = 0
INFO = 1
WARNING = 2
ERROR = 3
CRITICAL = 4
 from loggerj import log
 
 #log.create("filename", "text", type_logger)
 log.create("skynet_log", "deu merda ......", log.ERROR)

Output (terminal and file)

2018-10-29 13:47:50,359 - (path: '../skynet.py', line number (approximate): 666) - ERROR - deu merda ......