Skip to content

add nicer interface to control debug print#52

Open
supersonic-copycat wants to merge 1 commit intohdbc:masterfrom
supersonic-copycat:debug_print
Open

add nicer interface to control debug print#52
supersonic-copycat wants to merge 1 commit intohdbc:masterfrom
supersonic-copycat:debug_print

Conversation

@supersonic-copycat
Copy link
Copy Markdown
Contributor

Currently, logging functions in Database.HDBC.ODBC.Log are 'no-op', but to enable them you need to edit sources of library. This is just unfriendly way to enable/disable debug print. So, I add couple of flags to control hdbcLog and hdbcTrace behaviour.

Also I found that hdbcLog is never used in codebase, but I add flag for it anyway.

I used debug print to fix bug, but it was just unfriendly to edit
sources of library to enable/disable debug print. So, I add couple of
flags for this.

`hdbcLog` is never used in codebase, confirmed by grep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant