Skip to main content

A Python module (with the help of coloredlogs) to add color to logs.

Project description

sclogging

made-with-python Documentation Status License: MIT PyPI version Anaconda-Server Badge Anaconda-Server Badge

A Python module (with the help of coloredlogs) to add color to logs.

Still working on docs.

Current docs

get_logger is where to get started.

Some options allow certain customizations in the records themselves (e.g. %f.red%something%f%) sets the FORE color for that word then returns to default color of that level of logging.

Other options: Colored spacer

Easily setting seperate options for stderr and file logs

Custom timer class

Allows this:

             var_a = Timer(level="INFO")
             var_a.start_timer(Note="I started it")

Log record: time spacer var_a.module.function.start_timer INFO I started it

Wraps logging, colorama.BACK, FORE, CURSOR

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

sclogging-1.0.5.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

sclogging-1.0.5-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file sclogging-1.0.5.tar.gz.

File metadata

  • Download URL: sclogging-1.0.5.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for sclogging-1.0.5.tar.gz
Algorithm Hash digest
SHA256 78f484387e05394903e2153519c36d4533772d61ea05fa0c8131f0fc69459472
MD5 015169e52aad3de8eaf458b31b8d7a95
BLAKE2b-256 845d06ad3b7d9e7fedb7ff636f6032fff94fd382aba45aae6f56c57ca27cb44d

See more details on using hashes here.

File details

Details for the file sclogging-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: sclogging-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for sclogging-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1775fcecb1231002311011319c8956beceb19b39e96f9f6a7e37c4703dc77c1a
MD5 8058574518f2a541fbcc888004f8cbe2
BLAKE2b-256 062f9bf76c51bd071c8f84b327e5d4082ab3277ca51b0174d9d0fafe4bcbbc57

See more details on using hashes here.

Supported by

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