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.4.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.4.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

customisedLogs-1.4.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for customisedLogs-1.4.0.tar.gz
Algorithm Hash digest
SHA256 117373930a5e5490334b021d57ffdae1efa75dc5d5460b2e12c62d10ba39f310
MD5 13ec304e3a4601b1c58c0ecee82e10fc
BLAKE2b-256 6292019fd6783b8e2a971412fdac1ef691f8e2b422a1b32593937bf904d6c97c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for customisedLogs-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c78530d51b206adc7d66ed614b098952a5796c6800956ac6acde131bbd9930
MD5 e6d144538fa20b6c8ad6cc440208ffa6
BLAKE2b-256 0fd58a04202ff39ceb00a076ff4d97d57accba7db073b766bd8566379c2826eb

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