A custom logger with colorful output
Project description
🌈 Colored Custom Logger
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:
🚀 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:
Documentation
Comprehensive documentation for Colored Custom Logger is available online:
- User Guide and API Reference: https://robin-collins.github.io/colored_custom_logger/
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:
- Documentation Setup Guide: See DOCUMENTATION_SETUP.md in the project repository.
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:
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🏷️ Version
The current version of 🌈 colored-custom-logger is 1.5.7.
🙏 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
Built Distribution
Hashes for colored_custom_logger-1.6.0.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | fc3a9f7211500d5d3f199327ba125e2ea47b203ea2f5938798a4f99a1470c23a |
|
| MD5 | 8e423b41af6f77b0014a38892fea8873 |
|
| BLAKE2b-256 | e358012526b582dcce43ba20ba81ab9808561228f93a4dcd7f4ca3c90eda9237 |
Hashes for colored_custom_logger-1.6.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | a70faef9bcc2f568d289e592f39148d19e978fcaacb5d0eda8480834a8e1dea5 |
|
| MD5 | dfd6f4cd985368cb1966764689dc141b |
|
| BLAKE2b-256 | a11738a47a0ce910a339868e8f2f0b022c9a09ef38e6a63877128f100d625b53 |