Skip to content

moe001/moelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A easy to use Logger


I hate to always write code like logging.basicConfig(level = logging.INFO,format = '%(asctim ... So ..


import moelog

l = moelog.get_logger(both_to_file_path=r'.\t.log')

l.info('moelog main')
l.i('moelog main')

l.e('nooooooo!')
'''
2018-06-27 05:21:52,632 [INFO]  :moelog main
2018-06-27 05:21:52,632 [INFO]  :moelog main
2018-06-27 05:21:52,632 [ERROR] :nooooooo!
'''

About

A easy to use Logger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages