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.4.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.

croustiistuff-0.1.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for croustiistuff-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5bc7de3014d62d6d424e81ea0be2784bed929e976895e6d4cc337ba404ffbe28
MD5 077ae45993b563e4942b26e2fb55494c
BLAKE2b-256 02313b0b0bb2f92104c9ae251ca9bed94e410abb1347ba760c14d63c302cc044

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for croustiistuff-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c3568d5f7a26fb9b69915a4295ff750f6a10fbd2a51a4e7d3aea9dcea7290f2c
MD5 b6d618585caf706300c41086e3c8f5a9
BLAKE2b-256 38facd4ee9ece24ea154292dc37e6e7c390a456d5bc13d2ac79ac8f737be148d

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