A simple library for logging in Python
Project description
Pandalog
Pandalog is a simple, easy-to-use logging library for Python. It provides a straightforward way to log messages, exceptions, and more with various levels of severity.
Installation
You can install Pandalog from PyPI:
pip install pandalog
Usage
Here's a basic example of how to use Pandalog:
from pandalog import logger
logger.logInfo("This is a message", "TEST")
logger.logWarning("This is a warning", "TEST")
logger.logError("This is an error", "TEST")
logger.logCritical("This is a critical error", "TEST")
logger.logFatal("This is a fatal error", "TEST")
Output:
Features
- Log messages with different levels of severity (INFO, WARNING, ERROR, etc.)
- Log exceptions with their stack traces
- Configurable log format
- Save logs to a file
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
Pandalog is licensed under the MIT License. See the LICENSE
file for more details.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pandalog-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pandalog-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde0a5bda4f1ae66af93f3897ca5ec54daf653c1e843e308044c82833ef405f9 |
|
MD5 | 0e091fedec297e50c0cb12ff68960397 |
|
BLAKE2b-256 | f52f1a4e7eac314e0d07ae5eea6f03c84acae8e2f2ffcb7b9211f11fe1117707 |