Structured error logging
Capture exceptions with traceback details and a unique error identifier for easier follow-up.
HyperLog is a Python utility library built to make error logging clearer and debugging less painful. Focus on building. Keep useful context when things break.
hyperlog-tools 0.1.1Small, practical utilities for everyday Python projects, with a focus on making failures easier to investigate.
Capture exceptions with traceback details and a unique error identifier for easier follow-up.
Attach lightweight metadata to an error so you can understand what your application was doing.
Install from PyPI and import the utilities directly into your existing Python codebase.
Requires Python 3.10 or newer, according to the package metadata.
Distribution name: hyperlog-tools · Import name: hyperlog
Use the library's currently available functions. Check the repository README for the latest implementation details.
log_exception(error, context=None)Record exception details and optional context. Returns an error identifier that can be used when investigating a failure.
get_log_file()Get the configured path to the log file used by the library.
reset_logger()Close the library's current logging handlers when reinitialization is needed.
Browse source code, usage examples, known issues, and current development status on GitHub. Open repository ↗
Security note: never intentionally pass passwords, bot tokens, API keys, or other secrets into logs. Redaction is not a guarantee that every secret will be detected.
Get the package from the official Python Package Index and follow development on GitHub.
Release details are currently static. Update this section when you publish a new version.