Improved logger based on Python's logging module
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')
Which should output this:
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
Close
Hashes for rainbow-bridge-logger-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 010ddc6bff48edba69714144b163660cd623265b0ef78bbfe1858641283cfc27 |
|
MD5 | a98e097730a881dc13a958df37d189b8 |
|
BLAKE2b-256 | 52a7f847b7e7b4ca0633e9ac42b0130da1b7a17fb580bc0aed4992552671bc32 |