Skip to main content

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

Screenshot

Installation

pip install rslog

Usage

from rslog import rslog

rslog("Hello, world!")
rslog("An error occurred!")
rslog("Warning: something went wrong.")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rslog-0.1.8.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rslog-0.1.8-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for rslog-0.1.8.tar.gz
Algorithm Hash digest
SHA256 41c13b913027cdc00eb9d248000539b1d5c1190a64457f616da5480227f31c16
MD5 5c7cf6a1ebd03f2dcaec66ae96a5756e
BLAKE2b-256 27886b9e50391bf02c0f7c419011b759c1e2d13cfffbbb4f4b9c98af6f005728

See more details on using hashes here.

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

Hashes for rslog-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c7c0664155ec721d945071e3adc4dac1eb961fac16f0aff680ece3ce2319d17b
MD5 7220bbcbb09d5bc8a5fecb1e63d6f582
BLAKE2b-256 31b72801e21cdec03f2c6c90f3750dd784785e9988456f020aace5e1ff90f043

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page