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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64590f8c076cff2faa63f62cad482b36a726b41f5545c7e4d9e86046ba88abfb |
|
MD5 | c2343e0c8c5af910834cb0c388cfc0aa |
|
BLAKE2b-256 | db8444317e4465275ed57ff48c6c18b94416dc8cd6c32b4077fd546a475795c1 |