Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrys/great-justice
Debug every ZIG
https://github.com/patrys/great-justice
Last synced: 21 days ago
JSON representation
Debug every ZIG
- Host: GitHub
- URL: https://github.com/patrys/great-justice
- Owner: patrys
- License: bsd-2-clause
- Created: 2010-12-02T11:38:34.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-13T10:29:41.000Z (over 12 years ago)
- Last Synced: 2024-10-10T16:34:11.918Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 151 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: LICENSE
Awesome Lists containing this project
README
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)