Improved wrapper for native logger of Python 3
Project description
A wrapper for the native logging module of Python.
from rainbow import RainbowLogger
# __name__ will get the current context
# but you can pass any text you want, for identification
logger = RainbowLogger(__name__)
logger.info('my info')
logger.warning('my warn')
logger.error('my error')
logger.debug('my debug')
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 Distribution
Built Distribution
File details
Details for the file rainbow-bridge-logger-0.7.0.tar.gz
.
File metadata
- Download URL: rainbow-bridge-logger-0.7.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.6.8 Darwin/19.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66b3c763fb7037ae774c284337a763ade027e9642ab72ab031dba9874ec123d2 |
|
MD5 | 1d79bcd36e1be65759189afb352d56ac |
|
BLAKE2b-256 | 68378b168f8e8975997791b32d5705d11b90339f89b9e66f848511a249cf47e2 |
File details
Details for the file rainbow_bridge_logger-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: rainbow_bridge_logger-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.6.8 Darwin/19.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adcc49f07b4f1167f3a9721753d2ebb6d1fb653a377a6cafd5b4f798cc95bdb4 |
|
MD5 | 290cc3044249945b2182adbcd1c290f8 |
|
BLAKE2b-256 | b4fc433788a8711c310847292a36396e6173b791c8dc1b9bd948daa9dcae4b5d |