We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create a logging module to allow a consistent method to write to a logfile or print debug information
add human unstandable output such as 'Line Element', 'Clockwise Arc' and map the flow through each function:
from inspect import getframeinfo, stack
def debuginfo(message): caller = getframeinfo(stack()[1][0]) print "%s - %s - lineno %d: %s" % (caller.filename, caller.function, caller.lineno, message)
[filename.py - functionname- lineno xx: message]
The text was updated successfully, but these errors were encountered:
dubstar-04
No branches or pull requests
create a logging module to allow a consistent method to write to a logfile or print debug information
add human unstandable output such as 'Line Element', 'Clockwise Arc' and map the flow through each function:
from inspect import getframeinfo, stack
def debuginfo(message):
caller = getframeinfo(stack()[1][0])
print "%s - %s - lineno %d: %s" % (caller.filename, caller.function, caller.lineno, message)
[filename.py - functionname- lineno xx: message]
The text was updated successfully, but these errors were encountered: