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.
Built Distribution
File details
Details for the file moelog-0.0.0.2-py3-none-any.whl
.
File metadata
- Download URL: moelog-0.0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e68da52dbc402390b38c80b34539979bc6b97c87721596a6b2bd465594201e |
|
MD5 | 4bed1a80680f57e6484364efac38a51f |
|
BLAKE2b-256 | a1df483a605e9cf1d0056c33d9c8559aff16b2b6dd5892c30e9539b2f661545d |