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.")
Metadata
Release files for rslog 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rslog-0.1.8.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rslog-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / rslog-0.1.8.tar.gz
| Download URL | rslog-0.1.8.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41c13b913027cdc00eb9d248000539b1d5c1190a64457f616da5480227f31c16
|
|
BLAKE2b-256 checksum How to use checksums |
27886b9e50391bf02c0f7c419011b759c1e2d13cfffbbb4f4b9c98af6f005728
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Release files / rslog-0.1.8-py3-none-any.whl
| Download URL | rslog-0.1.8-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7c0664155ec721d945071e3adc4dac1eb961fac16f0aff680ece3ce2319d17b
|
|
BLAKE2b-256 checksum How to use checksums |
31b72801e21cdec03f2c6c90f3750dd784785e9988456f020aace5e1ff90f043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|