Skip to main content

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().

Screenshot

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)

Source distribution for rslog 0.1.8
File Size Uploaded
rslog-0.1.8.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rslog 0.1.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page