Skip to main content

super simple context manager to print debug message

Project description

Debug Context Manager

Super simple context manager to wrap a block of code with a debug message.

Usage

from debug_context_manager import debug

with debug("Doing this stuff"):
    # some code

with debug("Doing other stuff", "and finished!"):
    # other code

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for debug_context_manager, version 0.1
Filename, size & hash File type Python version Upload date
debug_context_manager-0.1-py2.7.egg (1.4 kB) View hashes Egg 2.7
debug_context_manager-0.1-py2.py3-none-any.whl (2.6 kB) View hashes Wheel 2.7
debug_context_manager-0.1.tar.gz (1.3 kB) View hashes Source None

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