Skip to content

patrys/great-justice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How are you gentlemen !!

This module provides an easy way to debug broken code.

What you say !!

from great_justice import what_happen
try:
    # ...
except:
    what_happen()

Or make it even better:

from great_justice import take_your_time
with take_your_time():
    # ...

Results:

great-justice 2012.6

To get a nice debug log just pass a logger object:

from great_justice import what_happen
import logging
logger = logging.getLogger(__name__)
try:
    # ...
except:
    what_happen(logger=logger)

About

Debug every ZIG

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages