Versatile logging library.
Project description
What is VersaLog.py?
What is VersaLog.py? VersaLog is a powerful and flexible logging library for Python. It supports everything from simple usage to advanced, highly customizable configurations to meet a wide range of needs.
Installation
pip install VersaLog
Mode
| Mode | Description |
|---|---|
detailed |
Logs including execution time and log levels |
file |
Logs with filename and line number |
simple |
Simple and easy-to-read logs |
simple2 |
Simple and easy-to-read log format. The timestamp is automatically included. |
Options
| Options | Description |
|---|---|
show_file |
True : Display filename and line number (for simple and detailed modes) |
show_tag |
True : Show self.tag if no explicit tag is provided |
tag |
Default tag to use when show_tag is enabled |
enable_all |
Shortcut to enable both show_file and show_tag |
notice |
True : When an error or critical level log is output, a desktop notification (using plyer.notification) will be displayed. The notification includes the log level and message. |
all_save |
True : When an error or critical level log is output, the log will be saved to a file. |
save_levels |
A list of log levels to save. Defaults to ["INFO", "ERROR", "WARNING", "DEBUG", "CRITICAL"]. |
silent |
True : Suppress standard output (print) |
catch_exceptions |
True : Automatically catch unhandled exceptions and log them as critical |
Log save
[2025-08-06 04:10:36][INFO] : ok
Sample
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
versalog-1.6.2.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file versalog-1.6.2.tar.gz.
File metadata
- Download URL: versalog-1.6.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4fc9d0867356b9c3ac2cb180e660b6c35355b7e4d369597d335bc361a75e6e6
|
|
| MD5 |
dbc7c0e9509ab26031f4c6d7b46614c2
|
|
| BLAKE2b-256 |
42abd771cb608e42f9919bf518e64c2e29321ee0ee315a41d56462f38924f491
|
File details
Details for the file versalog-1.6.2-py3-none-any.whl.
File metadata
- Download URL: versalog-1.6.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23c060e1eef76a6a2161ff4bce142a1efd8570bb5e7abda6136db07cbd1e15ef
|
|
| MD5 |
c8376b0c590582c84c8050fee3892556
|
|
| BLAKE2b-256 |
8559593ad84bc1f6e7a68d4804a9ce3b7627ef482260d54c869c1b52c4813dd0
|