Skip to main content

A custom logger with colorful output

Project description

🌈 Colored Custom Logger

PyPI version License: MIT Python Versions

Turn your monochrome console into a vibrant logging fiesta! 🎉

🌟 Features

  • 🎨 Colorful date and log level outputs
  • 🚦 Easy-to-distinguish log levels
  • 🔧 Customizable and extendable
  • 🚀 Simple to integrate into existing projects
  • 🐍 Pure Python, no extra dependencies (except colorama for Windows support)

📸 See It in Action

Feast your eyes on these beautiful logs:

Colored Logger Demo

🚀 Installation

Get started with a simple pip install:

pip install colored-custom-logger

🎮 Quick Start

Here's a taste of what you can do with Colored Custom Logger:

from colored_custom_logger import CustomLogger

# Create your fabulous logger
logger = CustomLogger.get_logger(__name__)

# Let the colorful logging begin!
logger.debug("🔍 This is a debug message")
logger.info("ℹ️ Here's some info for you")
logger.warning("⚠️ Uh-oh, this is a warning")
logger.error("❌ Oops! We've got an error")
logger.critical("🚨 MAYDAY! MAYDAY! This is critical!")

And voilà! Your console will transform into this:

Logger Output

Documentation

Comprehensive documentation for Colored Custom Logger is available online:

This documentation includes:

  • Installation instructions
  • Usage examples
  • API reference
  • Troubleshooting guide

For developers interested in contributing to the project or setting up the documentation locally:

The documentation is built using MkDocs and hosted on GitHub Pages. It is automatically updated when changes are pushed to the main branch of the repository.

🌈 Color Scheme

Our carefully curated color palette ensures your logs are both beautiful and readable:

  • 🔵 DEBUG: Cool Blue
  • 🟢 INFO: Go Green
  • 🟡 WARNING: Yummy Yellow
  • 🔴 ERROR: Radical Red
  • 🔥 CRITICAL: Blazing Bright Red

🛠️ Advanced Usage

Want to customize your logger further? No problem! Check out our advanced usage guide:

Advanced Usage

🤝 Contributing

We love contributions! If you have ideas for new features, improvements, or just want to report a bug, please open an issue or submit a pull request. Let's make logging colorful for everyone! 🌈

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

  • Thanks to the colorama project for making cross-platform colored terminal text output possible.
  • Inspired by all the monochrome loggers out there, waiting for a splash of color.

Made with ❤️ and 🌈 by Robin Collins

Remember, life's too short for boring logs! 🎭🎨

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

colored_custom_logger-1.5.3.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

colored_custom_logger-1.5.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file colored_custom_logger-1.5.3.tar.gz.

File metadata

  • Download URL: colored_custom_logger-1.5.3.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for colored_custom_logger-1.5.3.tar.gz
Algorithm Hash digest
SHA256 7832a1fa0e78a407c2414b1c34428227ca8e9af2a957e9f8e3a5b458ad4eaa76
MD5 8dd35c16587d709f057ef9ac6377a09e
BLAKE2b-256 d131fa01d7a56c0345f70ec7a713bec2ccb2a332ec9420732d2373a2da6a92ef

See more details on using hashes here.

File details

Details for the file colored_custom_logger-1.5.3-py3-none-any.whl.

File metadata

File hashes

Hashes for colored_custom_logger-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db4e9e683b8636b6aa04d74a20c1ff7d628ce7bc560dc424415640208c5c478b
MD5 5c706f0571b8f6c1cd09a1dde3a45f54
BLAKE2b-256 e04ae02019cdc4f93efbc10394a44a326e8f00e5bc3bbed5727c7deebf482b74

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page