Skip to main content

A simple utility package for Python logging with colors

Project description

K-Scale Open Source Robotics

License Version Discord Wiki
python black ruff

colorlogging

Makes logging colorful!

Example of colorlogging output

Example of colorlogging output

Installation

Simply run

pip install colorlogging

Usage

To configure logging, call configure_logging like so:

import colorlogging
import logging

logger = logging.getLogger(__name__)

def main() -> None:
    colorlogging.configure()
    logger.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.

Source Distribution

colorlogging-0.0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

colorlogging-0.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file colorlogging-0.0.1.tar.gz.

File metadata

  • Download URL: colorlogging-0.0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for colorlogging-0.0.1.tar.gz
Algorithm Hash digest
SHA256 217268e10b3706ac47c6b5e4731b24e700a6ea174211852611a1d5f5f9201cce
MD5 eba2848702fc7ec721b49b548628d667
BLAKE2b-256 c2deeb8085faf2a8b72efa7d8661ec86fc2be5c3de5b4affebde675d9cbdeb82

See more details on using hashes here.

File details

Details for the file colorlogging-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for colorlogging-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e98f0fbcdee66195a7bddb08b430b2ac36132f9718e77841d3fa0d3e0671b06
MD5 5c8b790d2d497ba17f9fefb28c2ef2bb
BLAKE2b-256 bf9fa12ef5171143db59f773ead81e0652acb02e5436c15701d252a3c67ef097

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