Skip to main content

Stuff i need

Project description

Croustiistuff - Stuff I need for my projects

Features

  • Color-coded logging for better visibility
  • Two modes: Classic (detailed) and Minimal (clean)
  • Customizable separators in Minimal mode
  • Debug mode support

Installation

pip install croustiistuff

Usage

Basic Example

from croustiistuff import Logger

logger = Logger(prefix="MyApp")

logger.success("Operation completed successfully!")
logger.warning("This is a warning message!")
logger.info("Informational message.")
logger.error("An error occurred!")
logger.debug("This is a debug message.")

Changing Modes

logger = Logger(mode="minimal", separator=" - ")
logger.info("This is a minimal log message")

Example Output

Classic Mode (Default)

[MyApp] | [12:34:56] | [SCC] -> [Operation completed successfully!]
[MyApp] | [12:34:56] | [WRN] -> [This is a warning message!]
[MyApp] | [12:34:56] | [INF] -> [Informational message.]
[MyApp] | [12:34:56] | [ERR] -> [An error occurred!]

Minimal Mode

12:34:56 [INF] - Informational 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

croustiistuff-0.1.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

croustiistuff-0.1.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file croustiistuff-0.1.5.tar.gz.

File metadata

  • Download URL: croustiistuff-0.1.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for croustiistuff-0.1.5.tar.gz
Algorithm Hash digest
SHA256 21e628c67440b4c84da151fce966263a667446a2e71d481f9c9c6d0a6aed0653
MD5 a5d1cc74e0290fc8af090e5321d57b01
BLAKE2b-256 a1df5c8852c6fd267298023fad5fcaa98c23aa8842b24592995a7699830d58d6

See more details on using hashes here.

File details

Details for the file croustiistuff-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: croustiistuff-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for croustiistuff-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9343902d812188918e283902b17f7e407a8500af3978c99ad03ed3789bcc08d7
MD5 eae75df5b0ebdc873568a8eb3ca159c8
BLAKE2b-256 4cd9339ddb05577e878f692481b1db5529133719dffa531dab56deecd239548a

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