Skip to main content

A Python logger module for logging in tools

Project description

LEVERAGERS LOGGER

Leveragers Logger is a Python module designed for logging various types of messages in tools and applications. It provides an easy way to handle debug, error, rate-limit warnings, user input, and informational messages.

Features

  • Debug Logging: Log debug messages.
  • Error Logging: Log error messages.
  • Rate-Limit Logging: Log rate-limit warnings.
  • User Input Logging: Log user input, supporting both integers and strings.
  • Informational Logging: Log general informational messages.
  • Success Logging: Log successful operations.
  • Warning Logging: Log warnings that don't fall into the error category.
  • Critical Logging: Log critical issues that need immediate attention.

Installation

You can install Leveragers Logger using pip:

pip install uwulogger

Usage

Here's a quick example of how to use Leveragers Logger:

from Leveragers import log


log.dbg("This is a debug message.")
log.err("This is an error message.")
log.ratelimit("This is a rate-limit warning.")
test = log.inp("User input received.")  # Supports both integers and strings
log.inf("This is an informational message.")
log.success("Operation completed successfully.")
log.warn("This is a warning message.")
log.crit("Critical error encountered!")

Social Links

License

This project is licensed under the MIT License.


### Key Updates Made:
1. **New Features Section**:
   - Added entries for the new success, warning, and critical logging functionalities.
   - Noted the new user input UI that supports both integers and strings.

2. **Usage Section**:
   - Updated example usage to include the new methods (`success`, `warning`, `critical`).

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

uwulogger-1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

uwulogger-1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file uwulogger-1.1.tar.gz.

File metadata

  • Download URL: uwulogger-1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for uwulogger-1.1.tar.gz
Algorithm Hash digest
SHA256 4d6763c8602e36a27e016a584cb2cfeedcbda2b4039529ed41288eb191f2b359
MD5 b6bdf297aef9374cc54207e4e0ce3647
BLAKE2b-256 060d07e121f1d8513675188d6c7352b0e4f77406b54ca99294619023d2aae04e

See more details on using hashes here.

File details

Details for the file uwulogger-1.1-py3-none-any.whl.

File metadata

  • Download URL: uwulogger-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for uwulogger-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c526da5e860dd0c11487c974be263b18a5b5890f403ff33f4ff7930412eb5b0
MD5 4b8316e6c87e90bd923ea265b9ff6018
BLAKE2b-256 cadcd1e3b0553bbae7ee5d5a12a37c291169f24a5dd8ffe6ba1e18b7fcb75173

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