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

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.6.1.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

colored_custom_logger-1.6.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: colored_custom_logger-1.6.1.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for colored_custom_logger-1.6.1.tar.gz
Algorithm Hash digest
SHA256 34df49f3c5c093527094b11d9da6f71c7e4c7605771aa0697a1947b6a69763f3
MD5 fc9dc5dee18152307796af7c19b3e14f
BLAKE2b-256 7369abeef014ad187eb6b9ddf4e94082a16f31e886226063f729fcff5f556d90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colored_custom_logger-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6febce496ef4fb96d88d21854a93b0e91d9a7bf063030a7ca4841381e670f9ae
MD5 101bd1b95ec3a96f14b43c49798a0148
BLAKE2b-256 510dbd59e92367d924455258a0df71c0921b396fe048ebb965d4d96b0da64cdb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 files

1.6.0

2 files

1.5.7

2 files

1.5.6

2 files

1.5.5

2 files

1.5.4

2 files

1.5.3

2 files

1.5.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page