Skip to main content

What is VersaLog.py?

All Contributors

PyPI version Downloads Python 3.8+ License Discord

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.

Support

Join our Discord server for support, questions, and community discussions:

Discord

Installation

pip install VersaLog

Enum

Enum 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

Tag set

# one tag
logger = VersaLog(enum="detailed", tag="a", show_tag=True)

# two tag
logger = VersaLog(enum="detailed", tag=["a", "a"], show_tag=True)
```                                                                                                    |

## Log save

[2025-08-06 04:10:36][INFO] : ok


## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tbody>
    <tr>
      <td align="center" valign="top" width="14.28%"><a href="https://github.com/kaedeek"><img src="https://avatars.githubusercontent.com/u/170544738?v=4?s=100" width="100px;" alt="ₖₐₑ𝒹ₑ"/><br /><sub><b>ₖₐₑ𝒹ₑ</b></sub></a><br /><a href="https://github.com/kayu0514/VersaLog.py/commits?author=kaedeek" title="Code">💻</a></td>
    </tr>
  </tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

Metadata

Release files for VersaLog 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for VersaLog 2.0.0
File Size Uploaded Provenance Actions
versalog-2.0.0.tar.gz 6.4 kB Without provenance Details for versalog-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for VersaLog 2.0.0
File Interpreter ABI Platform Actions
versalog-2.0.0-py3-none-any.whl Python 3 none any Details for versalog-2.0.0-py3-none-any.whl

Total release size: 13.3 kB

Release files / versalog-2.0.0.tar.gz

Download URL versalog-2.0.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
10125e27e9a87b0d07b35019e293b57440df5b5ee5d45fd7ac0671db87e87821
BLAKE2b-256 checksum
How to use checksums
5e870b0a795d72e14f679f3f37647a4544a73f51b290913e6f2f6b54c9ac8856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / versalog-2.0.0-py3-none-any.whl

Download URL versalog-2.0.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee2a15524abe202c63276e541d8271a5b60d5d66db90bac92e562ed0635f2a5a
BLAKE2b-256 checksum
How to use checksums
a1f7143d5f076596854f8f124f245d15310be7c27244fcf96b662d9deebf42c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Security for VersaLog 2.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page