A simple, opinionated python library for logging locally. It will log a timestamp, the function name and add colors based on keywords in the log string that may indicate an error or warning.
Project description
rslog
A simple, opinionated python library for logging locally.
It will log a timestamp, the function name and add colours based on keywords in the log string that may indicate an error or warning.
Drop-in replacement for print().
Installation
pip install rslog
Usage
from rslog import rslog
rslog("Hello, world!")
rslog("An error occurred!")
rslog("Warning: something went wrong.")
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 rslog-0.1.8.tar.gz.
File metadata
- Download URL: rslog-0.1.8.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41c13b913027cdc00eb9d248000539b1d5c1190a64457f616da5480227f31c16
|
|
| MD5 |
5c7cf6a1ebd03f2dcaec66ae96a5756e
|
|
| BLAKE2b-256 |
27886b9e50391bf02c0f7c419011b759c1e2d13cfffbbb4f4b9c98af6f005728
|
File details
Details for the file rslog-0.1.8-py3-none-any.whl.
File metadata
- Download URL: rslog-0.1.8-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7c0664155ec721d945071e3adc4dac1eb961fac16f0aff680ece3ce2319d17b
|
|
| MD5 |
7220bbcbb09d5bc8a5fecb1e63d6f582
|
|
| BLAKE2b-256 |
31b72801e21cdec03f2c6c90f3750dd784785e9988456f020aace5e1ff90f043
|