Skip to main content

Hierarchical logging library with enhanced printing functions.

Project description

Hieralog

Hieralog is a hierarchical logging library for Python that provides enhanced logging and printing functions. It supports multiple levels, color coding, framed and plain output, and integrates seamlessly with progress bars.

Features

  • Hierarchical Logging: Auto-detect log levels with a "[x]" prefix.
  • Color-Coded Output: Different colors for each log level.
  • Enhanced Print Functions:
    • hprint(): Hierarchical (framed) logging output.
    • pprint(): Plain print with hierarchical indentation.
    • fprint(): Framed print with hierarchical indentation.
    • progress_write(): Writes progress messages with the proper indent.
  • Automatic Completion Message: A final completion log is printed automatically when the program ends.

Installation

Install via pip:

pip install hieralog1

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

hieralog2-0.1.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

hieralog2-0.1.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file hieralog2-0.1.0.tar.gz.

File metadata

  • Download URL: hieralog2-0.1.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for hieralog2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b82bcdd226a026b79e856ccbf1df686ef7cba9cca92cfd664aa721b8ca82a2fe
MD5 bbaf965f2849d7e683a4119c139155b4
BLAKE2b-256 bac544bfe3c30332513bfb6ad54ffa03de072379b3dd342ff7994a86353dcda8

See more details on using hashes here.

File details

Details for the file hieralog2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hieralog2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for hieralog2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8aa4011fa9ee9385fdc04dd62b732e6b90f92fe51c01c34611cf7027c57fd1c
MD5 6866e7c1ae08449a71c66abc80748911
BLAKE2b-256 95b716b1e787d6952383b6aba93f7954b2dc70c6ffd2a22b0fae4e198ed5d290

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