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

Better debugging #11

Open
elderamevans opened this issue Jan 23, 2015 · 2 comments
Open

Better debugging #11

elderamevans opened this issue Jan 23, 2015 · 2 comments

Comments

@elderamevans
Copy link
Collaborator

I've come to realize, I have a distinct lack of debugging information support in the SDK. However, I want to find happy levels of debugging; I don't want to end up utterly spamming the prompt window, yet I don't want to leave something vital out.

What came to mind, so far:

class FamilySearch(...):
    def init(..., debug=None)

    def _request(...)
     ...
     if debug is not None:
         print(method, url)
     ...
    def _fs2py(...debug=None)

    if debug is not None:
        print(headers["status"], headers["message")

Something like that, anyway...

@elderamevans
Copy link
Collaborator Author

The big thing is, what is wanted in the debug log? the terminal?

@elderamevans
Copy link
Collaborator Author

Eh, we don't need this to be published to PyPI, so removing that milestone.
Maybe in a future version...

@elderamevans elderamevans removed this from the Publish to PyPI milestone Feb 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant