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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandalog-1.0.1.tar.gz.
File metadata
- Download URL: pandalog-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8c65486c3429f91540971145f0c488be7e3116a9ef7595161a53af994e3721b
|
|
| MD5 |
3694052b33b2eaf9efbce121e794e546
|
|
| BLAKE2b-256 |
c8e4faffbc1cd578efb75dd6624020cf5a731ef714274ba4a2c863d35bcad896
|
File details
Details for the file pandalog-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pandalog-1.0.1-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.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61e3e06895831a9d5cf94e8c15b289a6828859d522cd708ea3f03026db278118
|
|
| MD5 |
3e16842d5366e31bab4574abbdea41a4
|
|
| BLAKE2b-256 |
2e3d292c72ce288f36bd37450485d2c90484e179efce14c5f2ab65e584103a1e
|