Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for splogger, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size splogger-0.1.4-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size splogger-0.1.4.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page