My own logging library so i don't need to port it to every single project i make.
Project description
📚 kwslogger: Your Custom Logging Solution! 🚀
Welcome to kwslogger
, a tailored logging solution for Python developers who desire more color and style in their logs.
🌟 Features
- 🎨 Colorful logs to easily differentiate log types.
- 📅 Timestamped logs to understand when events occur.
⚙️ Installation
pip install kwslogger
🚀 Quick Start
First import the library:
from kwslogger import Logger
then you can use it simply like this
# Create a logger instance
logger = Logger(debug=True) # Default debug: False
# Clear the console
logger.clear()
# Log a message
logger.welcome("I'm a welcome message!")
logger.info("I'm an info message!")
logger.debug("I'm a debug message!")
logger.success("I'm a success message!")
logger.warning("I'm a warning!")
logger.error("I'm an error!")
logger.sleep("I'm a sleep message!")
logger.input("I'm an input message!")
logger.ratelimit("I'm a rate limit message!")
# Wait for 3 seconds using spinners
logger.spinner_wait("Waiting for 3 seconds...", 3)
🤝 Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
💖 Support
If you like this project, please give it a ⭐️ and share it with your friends!
📄 License
This project is MIT licensed, click here to see the license file.
Thanks for choosing kwslogger
for your logging needs!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kwslogger-0.2.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for kwslogger-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4222247cd8dbbe1084485b0d372b68a2b3e511303ecf1b6a084c6d61e3026137 |
|
MD5 | 6a83cff0c81a2017a174383490578498 |
|
BLAKE2b-256 | b98694e8c8b9a7ea40d49a784ce81c0377857d8c75d9b5c2ba69e66f72129d34 |