Skip to main content

log with colors

Project description

simple & beautiful log setup library

Note: this package is still in alpha. Use with caution !

Quickstart

Install logcc:

pip install logcc

Use logcc:

l = LogCC(name='test)
l.update_color_formatter('name', 'DEBUG', red())
l.update_color_formatter('name', 'INFO', cc(':blue::man::red::woman:'))
log = logging.getLogger(name)
log.debug('你好,世界')
log.info('hello world')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

logcc-2018.3.1-py3-none-any.whl (13.1 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page