LogSnap
LogSnap is a simple command-line tool for analyzing log files. It provides a clear, colored summary of log levels and allows users to search for specific keywords within the logs, highlighting the results for easy troubleshooting.
Features
- Log Summary: Get a quick overview of log levels (DEBUG, INFO, WARNING, ERROR, CRITICAL, FATAL) with colored output.
- Keyword Search: Search for specific keywords in the log file and see the results highlighted in color.
- Cross-Platform: Works seamlessly on Windows, Mac, and Linux.
Installation
Install LogSnap using pip:
pip install logsnap
Usage
To get a summary of the log file, run:
logsnap path/to/logfile.log
To search for a specific keyword in the log file, use:
logsnap path/to/logfile.log --search keyword
Or using the short option for search:
logsnap path/to/logfile.log -s keyword
License
This project is licensed under the MIT License.
Metadata
Release files for logsnap 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| logsnap-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for logsnap-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| logsnap-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for logsnap-1.0.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / logsnap-1.0.0.tar.gz
| Download URL | logsnap-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc49f28d93aa9edfaf8caf63819b4de42a9dc697a348a43e56aca24af65616e8
|
|
BLAKE2b-256 checksum How to use checksums |
51142664f74069368fbf82c2f8467178602c89c63d44369532d76785ca3600c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Release files / logsnap-1.0.0-py3-none-any.whl
| Download URL | logsnap-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab9a4eb1a48bebcc70ac585e8824c63fc229c2a7cd5d5fd0bde461d5ce7f5803
|
|
BLAKE2b-256 checksum How to use checksums |
873559902236f02bca44676006045847bf7274bd255a31d2e871b2bb24352339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Security for logsnap 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.