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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: customisedLogs-1.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cccce329ff0e04cc8945b033ad0113d1bbcc2c271a6d15ac3e35a874c5af8ac8
MD5 7509836d5990a783a2d4e5ffa49c11f2
BLAKE2b-256 d37d4cb210fdcf9231e51160f61bf28f7983bfc8358d4ef0cf271ee66cad057b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for customisedLogs-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84d26ce64b95e1ac26dffab2a4b59b0c2518e458b5f093540a1f464044c5ee13
MD5 bef1a38a0b7a219f2a5cdb26aedc98b5
BLAKE2b-256 2a8d805a59b3f126e3acebd0df529ac88db07311caa468795db1cd5cbb3a0e98

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