Skip to main content

Simple Python Logger

Project description

Simple Python Logger

A simple tool to have nicer console output

Features

  • Easy to use success/warning/error/debug comphrensive output
  • Easy to use current task information spinner

Usage

To mark a function as 'output worthy' use the @spinner decorator

    import logger
    from time import sleep

    @logger.spinner("Printing OK")
    def wait_and_print_ok():
        sleep(4)
        logger.success("OK")
        print('Normal log')

    wait_and_print_ok() 

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

splogger-0.0.8.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

splogger-0.0.8-py3-none-any.whl (4.6 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