great-justice

Debug every ZIG

BSD-2-CLAUSE License

Stars
13

h1. How are you gentlemen !!

This module provides an easy way to debug broken code.

h2. What you say !!

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

Or make it even better:

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

Results:

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

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