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.2.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.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uwulogger-1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 89c9db9f186a6d5d2f66b936a89ffb780ec1572cdeaf8824e617d775582cf082
MD5 5572599f65118c06e2193fdbeaaf5796
BLAKE2b-256 75e8cb87f1e07747d8a1de1cada34b742c41deb18f1e52f8ae5e6e622e81018a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uwulogger-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ed17cd72d69935ea8cb6ea82750bc930dfcbe718f81636b3290f7e08bb0da5b
MD5 eddb89d6326643d6324bcfda0ce23875
BLAKE2b-256 53c0f15ea7a75c0616e567963d60e066035db793a2077f30f760999565e9ce91

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