A easy to use Logger
Project description
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!
'''
====================
--------------
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!
'''
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.