Skip to main content

Python package for nice colored logs.

Project description

cleanlog

Python package for nice colored logs.

Installation

pip install cleanlog

At a glance

# log.py
import cleanlog

logger = cleanlog.ColoredLogger('mylogger')
# Note that since cleanlog just wraps built-in logging module,
# this is equivalent to logger.setLevel(logging.DEBUG).
logger.setLevel(cleanlog.DEBUG)

logger.critical('A critical message.')
logger.error('An error message.')
logger.warning('A warning message.')
logger.info('An info message.')
logger.debug('A debug message.')

log.py

TODO

  • Implement cleanlog.BasicLogger.

Project details


Download files

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

Source Distribution

cleanlog-0.1.8.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file cleanlog-0.1.8.tar.gz.

File metadata

  • Download URL: cleanlog-0.1.8.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for cleanlog-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e4e390327dc7efb40c70fcc13a16ed3c0a33bb8bb34de5a00f2df930941ced98
MD5 bda01da22bbd000fbe9eaa46eab9c34b
BLAKE2b-256 f77a9551cb88b8fe7fd102cb7547d4f0e3bf035a2f2f06be7b18b182ecd19925

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page