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.1-py3-none-any.whl
.
File metadata
- Download URL: moelog-0.0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f65bc8160ace6383082075bfde43fb9c0e1e089b4f28b4f7d02674ed39feddd |
|
MD5 | 2a1a8f55e164e42f33fb4e432498de93 |
|
BLAKE2b-256 | 15bb9b1ca0591214969bc69ead6c89d67b28e5f8b7e5aecd70c182239409bc8c |