Skip to main content

A well maintained program to have coloured logs on the terminal. This would help isolate errors and success messages from each other just by their colours.

Project description

customisedLogs v1.2.2

pip install customisedlogs --upgrade


A well maintained program to have coloured logs on the terminal. This would help isolate errors and success messages from each other just by their colours.


To install:

pip install customisedlogs --upgrade
pip3 install customisedlogs --upgrade
python -m pip install customisedlogs --upgrade
python3 -m pip install customisedlogs --upgrade



Using this program is as simple as:

from customisedLogs import Manager as LogManager

logger = LogManager()

logger.fatal("SERVER", "Unhandled Exception", "Overloaded")
logger.failed("SERVER", "Unable to connect..")
logger.success("NETWORK", "Successfully connected", "Bi-directional", "lat: 1ms")
logger.info("CLIENT", "Port reserved")
logger.skip("PROGRAM", "Started...")

And it would look like: output-readme.png

Future implementations:

  • Let user change the default RGB values.
  • Add more verbose levels.
  • Customised verbose levels.
  • Skip same log if repeated within a time-frame.
  • Different formats. Compatible to render on HTML or any other stdout method.

This project is always open to suggestions and feature requests.

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

customisedLogs-1.2.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

customisedLogs-1.2.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file customisedLogs-1.2.2.tar.gz.

File metadata

  • Download URL: customisedLogs-1.2.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for customisedLogs-1.2.2.tar.gz
Algorithm Hash digest
SHA256 846370317dfda83f68e1732e223ea00c52eb820a1a6342e6b202e89a1c8365c1
MD5 11c9cb3ebf53aa03406ea9e703d42263
BLAKE2b-256 744648e2e5e5febe5ff42935a381fbaa803fc570185897c76acaf91434355b61

See more details on using hashes here.

Provenance

File details

Details for the file customisedLogs-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for customisedLogs-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d368b425ffbc06899ee8bb7fd935c0a718140d65464f566663c775f9f3e16e
MD5 2e261c64c50ed79d359dd5bed885f078
BLAKE2b-256 8ae9187547e1c11d05c4f68716d7d79f40b910704fb9f9af823454180b5e16cb

See more details on using hashes here.

Provenance

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