Skip to main content

A simple and colorful logging utility for console and file logging.

Project description

Loggy

Loggy is a simple and colorful logging utility for console and file logging in Python.

Features

  • Colored console output for different log levels
  • Optional file logging with customizable filename
  • Supports common log levels: info, success, error, warning, debug, critical, exception
  • Easy to use and integrate into your projects

Installation

pip install logita

Then include Logita in your project.

Usage

from Logita import Logita

logger = Loggy(log_to_file=True, log_filename="app.log")
logger.info("This is an info message")
logger.success("This is a success message")
logger.error("This is an error message")

License

This project is licensed under the MIT License.

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

logita-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

logita-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file logita-1.0.0.tar.gz.

File metadata

  • Download URL: logita-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for logita-1.0.0.tar.gz
Algorithm Hash digest
SHA256 36b94e402722b4dab310dec5e785de10c1e85d13d092f11f2d45916ea6f96d1f
MD5 fe751d9b822fb449a3828c4f991202e8
BLAKE2b-256 d59f0bf25719504e54eb9e84a7a63071cdc0062f996eb0feb4158fda2766eec4

See more details on using hashes here.

File details

Details for the file logita-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: logita-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for logita-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13e12d4b501bc78d2925c99a5c4a0bc8918f4972275287e3c8695517002da01e
MD5 3f8a45df30f2953ba514c176a85d2377
BLAKE2b-256 73580f23fa390fc1061d3e420d2e8067601ed6a5510109828efc20a8fe30d0f9

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