Skip to main content

cologs

Build Status PyPI Version

A simple colorful wrapper around logger from Python Standard Library with no dependencies. cologs sends its colorful output both to the terminal and into logs/cologs.log. The cologs.log file is rotated inside the logs folder when it gets large enough.

Installation

pip install cologs

Usage

from cologs import get_cologs

cologs = get_cologs()
cologs.debug("Debug message")
cologs.info("Info message")
cologs.warning("Warning message")
cologs.error("Error message")
cologs.critical("Critical message")

STDOUT

cologs output as seen in terminal.

Log File

cologs output as seen in logs/cologs.log file.

Metadata

Release files for cologs 0.3

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

Source distribution (sdist)

Source distribution for cologs 0.3
File Size Uploaded Provenance Actions
cologs-0.3.tar.gz 190.8 kB Without provenance Details for cologs-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cologs 0.3
File Interpreter ABI Platform Actions
cologs-0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for cologs-0.3-py2.py3-none-any.whl

Total release size: 204.7 kB

Release files / cologs-0.3.tar.gz

Download URL cologs-0.3.tar.gz
Size 190.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a289ca686d23409e134b03020038fa182d807ffd727bc72469d64ef1bd2f0ca2
BLAKE2b-256 checksum
How to use checksums
36d78b9d9ae960712bab41daefcd7f4f52a8fd3f290c51f6508951b8bc319df5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / cologs-0.3-py2.py3-none-any.whl

Download URL cologs-0.3-py2.py3-none-any.whl
Size 13.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6538dde2c1b871816db7c4b0b953c1b8fb314be9d32106e6e45d17e32eb36826
BLAKE2b-256 checksum
How to use checksums
3e646d4685aad2f4997a1e27e3d47f4590c7780c40da47582e196cbe5fb4373d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Security for cologs 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

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