Skip to main content

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"].

Log save

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

Sample

Simple : Tap
Detailed : Tap File : Tap

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

versalog-1.5.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

versalog-1.5.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file versalog-1.5.2.tar.gz.

File metadata

  • Download URL: versalog-1.5.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for versalog-1.5.2.tar.gz
Algorithm Hash digest
SHA256 463c297429f807d45483b450cfedf75931cc2998f4591d54f5963980c849317d
MD5 a3c90d80970473310ea0746c690fa51e
BLAKE2b-256 3f33633ce46b59dbc33dda646f460d18a1426b74b60b2beb9ebc561f6a3f3eea

See more details on using hashes here.

File details

Details for the file versalog-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: versalog-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for versalog-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57c8d189b5c26480c84ecb9d9954d1ff841299230aa073878cb1e95203e903ca
MD5 f5239adcf664605ba11943ab6703860d
BLAKE2b-256 3fe1dd804753dd748bede654218c4567ea395012899b226d6881cd1803e9ae01

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