Skip to main content

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)

Example

import logging
from quick_colorlog import init_colors

init_colors()

logger = logging.getLogger('testing')
logger.debug("test")
logger.info("test")
logger.warning("test")
logger.error("test")
logger.critical("test")

Release files for quick-colorlog 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quick-colorlog 0.0.10
File Size Uploaded
quick_colorlog-0.0.10.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quick-colorlog 0.0.10
File Interpreter ABI Platform
quick_colorlog-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / quick_colorlog-0.0.10.tar.gz

Download URL quick_colorlog-0.0.10.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6a0640f1aad5d8968d7851d06436c67bdcdd5a7a0ca6d456bb59ff183b640028
BLAKE2b-256 checksum
How to use checksums
1d29395c36ebe19ee505d78dad82ddc3fed5472435e70f4fb2bc8bff6aeddd92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / quick_colorlog-0.0.10-py3-none-any.whl

Download URL quick_colorlog-0.0.10-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f61330324e4f9a9c59fae805c32cd572f9c7eeabf68038422b6a2f3fcb058f26
BLAKE2b-256 checksum
How to use checksums
d20696819dc851be5d33c4800d19117acd5892d423f3b3667ac01d60b04b344c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page