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.1.0.tar.gz (2.9 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.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for printverbose-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6e672e4c405e497d18a5339de169f1b009490475ac369ebde7e6dd45a6e8e46e
MD5 9d598a1c59df6a5f243cf9b7cb8680d8
BLAKE2b-256 aedb847ba7384c66f15e9347c9e7eda3e696c07f96c7fd446f5189416f22f71c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: printverbose-1.1.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.13.11

File hashes

Hashes for printverbose-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2274bee494898d5ead28e7c569282c5178e72468e80a51cf9d80f285a6d45fcd
MD5 bb7baffb05ba975d25d48cdbd39e3d0e
BLAKE2b-256 8013ef4c2ced1e062305d7b4b743ae022644e72647be4fdc9100635f34e64e39

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