Skip to main content

Colorized logging with traceback dumping

Project description

PrintVerbose

A small logging helper with colored output and traceback dumping.

Dependencies:

  • colorama (BSD License)
pip install colorama

Install:

pip install printverbose

Usage:

from PrintVerbose import get_logger, write_traceback_to_file

log = get_logger("app")
log.info("Hello")

try:
   oneplusone = 1 + 1
except:
   write_traceback_to_file() # work only inside a except block
   log.critical("Error doing math!")

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

printverbose-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

printverbose-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file printverbose-1.0.0.tar.gz.

File metadata

  • Download URL: printverbose-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for printverbose-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0b9ccd6cfb1ce7dc0eb13b265dfd3117bfac7c28061ae5897b5e3b11e704d9f0
MD5 b9df00b7f2a9d7518a32480d83c4201f
BLAKE2b-256 a53eb9146ddca8d0b8a29b32411736bc23a092b7fb63e17d1a192bb01f92d0ed

See more details on using hashes here.

File details

Details for the file printverbose-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: printverbose-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for printverbose-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cae9f0173a9515b33176d6c99ffe9f64a202264a6e749f0ea2ac2b66405f167
MD5 9398aa2135858fc4949212d52e3562e2
BLAKE2b-256 7c969e13adc6bc25e7361af9e91c91682d12b4992f99b75818238ae126d3c1bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page