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.6.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.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file rslog-0.1.6.tar.gz.

File metadata

  • Download URL: rslog-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 b0054bd41d4b75351d8b5cce2f8e624b3224e1967d0f7541dbd314d603ca66e1
MD5 e46e6e4bff308250632318a4767fe590
BLAKE2b-256 b351d45cbc3efb6047d3d6824815512e63cb22e11bd4dc77f6c21fc72483eb13

See more details on using hashes here.

File details

Details for the file rslog-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: rslog-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 009ed059d3476e77ea3bd4bd7cebc7ff1571513483b5ac557a70ec0640828964
MD5 e76b9f65cf67b0bce83f295ae782b808
BLAKE2b-256 e24636e9c5d95693fc6feacccbac346262eef6d7bb8776b15f6e6eab1ec489d9

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