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.4.tar.gz (3.0 MB view hashes)

Uploaded Source

Built Distribution

sclogging-1.0.4-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

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