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.3.0

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.3.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

customisedLogs-1.3.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for customisedLogs-1.3.0.tar.gz
Algorithm Hash digest
SHA256 d38ef9e488a47cb964d9ebd10a148fded03aa4f11d7f4f419858641a2dca340d
MD5 f9e01680645c0099c9d010ab52fc0299
BLAKE2b-256 53cf1c5ace77f067a07261c976e1ddd6c2569f78bb280920d68bc95b654ab0fa

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for customisedLogs-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd75a2faa3a2326ec760cac3d410eaa9ac104dfa019e6496ee6b3df9db490665
MD5 33f45c25ea41c75ca6ff0305cabaf097
BLAKE2b-256 9d50ba8847412a119579771c6ddbc4a2fdca3c80d9b4441f30abda367c093d18

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