Skip to main content

🌈 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

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

🙏 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! 🎭🎨

Metadata

Release files for colored-custom-logger 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for colored-custom-logger 1.6.1
File Size Uploaded
colored_custom_logger-1.6.1.tar.gz 2.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for colored-custom-logger 1.6.1
File Interpreter ABI Platform
colored_custom_logger-1.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / colored_custom_logger-1.6.1.tar.gz

Download URL colored_custom_logger-1.6.1.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
34df49f3c5c093527094b11d9da6f71c7e4c7605771aa0697a1947b6a69763f3
BLAKE2b-256 checksum
How to use checksums
7369abeef014ad187eb6b9ddf4e94082a16f31e886226063f729fcff5f556d90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / colored_custom_logger-1.6.1-py3-none-any.whl

Download URL colored_custom_logger-1.6.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6febce496ef4fb96d88d21854a93b0e91d9a7bf063030a7ca4841381e670f9ae
BLAKE2b-256 checksum
How to use checksums
510dbd59e92367d924455258a0df71c0921b396fe048ebb965d4d96b0da64cdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.6.0

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page