Skip to content

WIN32GG/python-simple-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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() 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages