Skip to content
New issue

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

Add ability to log to file #132

Open
dubstar-04 opened this issue Nov 12, 2020 · 0 comments
Open

Add ability to log to file #132

dubstar-04 opened this issue Nov 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dubstar-04
Copy link
Owner

dubstar-04 commented Nov 12, 2020

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]

@dubstar-04 dubstar-04 added the enhancement New feature or request label Nov 12, 2020
@dubstar-04 dubstar-04 added this to the 0.1 milestone Nov 12, 2020
@dubstar-04 dubstar-04 self-assigned this Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant