Skip to main content

Colorized logging with Python.

Project description

quick-colorlog

Inspired by coloredlogs but without the subprocesses.

Quickstart

from quick_colorlog import init_colors

init_colors()

Defaults

By default, the log level is set to logging.INFO and the output stream is attached to sys.stderr. To change these, pass arguments to init_colors()

from quick_colorlog import init_colors

init_colors(level=logging.DEBUG, output=sys.stdout)

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

quick_colorlog-0.0.6.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

quick_colorlog-0.0.6-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file quick_colorlog-0.0.6.tar.gz.

File metadata

  • Download URL: quick_colorlog-0.0.6.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.10

File hashes

Hashes for quick_colorlog-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a6daa57085792564886b720511fdaefa16274513209744fe3ea26149f7c90108
MD5 363cf2a91895d8e78c2980027fac144d
BLAKE2b-256 033bc3db6761f79eb3af6189df9f84f11bb56281015db84f868a9f2cfc50cbed

See more details on using hashes here.

File details

Details for the file quick_colorlog-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for quick_colorlog-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6c7d6e13a07b8ad063118d98fcc714292bb40cccf9682df74d0f0a80a85269f3
MD5 fa0d186ff210b54b3b511557854f0187
BLAKE2b-256 944a6df1a59456976c1e78b49d5d9f18b79bffb1456b20d160095ff223b4b9cb

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