You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I should have started on this earlier but better late than never, this request is to integrate logging to ease debugging across the library and application.
While we have unit testing across the SDK which ensures proper operation, there are now use cases where we have programatic and user interfaces e.g SQL and CLI/TUI.
In cases where we are building an adapter for shillelagh we comes across the need to enable logging as the interactive shell hides all error messages.
Describe the solution you'd like
Where possible add logging.DEBUG messages so when the developer/user is running the library with verbose logging enabled they can see what is going on under the hood.
There are various lifecycle use cases where the order of operation matters, for example the _discover method should only be called one the environment variables with the API key is available to the environment.
Other examples are __config__ for endpoints are automatically populated upon the discovery running, and we need to validate that this has happened.
While this does not cause an error so to speak, it does cause the SDK to have unexpected behaviour and debug messages will assist in getting to the bottom of this quicker.
Describe alternatives you've considered
NA
Additional context
Please add this to the list of things that needs to be documented for developers of the SDK.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I should have started on this earlier but better late than never, this request is to integrate
logging
to ease debugging across the library and application.While we have unit testing across the SDK which ensures proper operation, there are now use cases where we have programatic and user interfaces e.g SQL and CLI/TUI.
In cases where we are building an adapter for
shillelagh
we comes across the need to enable logging as the interactive shell hides all error messages.Describe the solution you'd like
Where possible add
logging.DEBUG
messages so when the developer/user is running the library with verbose logging enabled they can see what is going on under the hood.There are various lifecycle use cases where the order of operation matters, for example the
_discover
method should only be called one the environment variables with the API key is available to the environment.Other examples are
__config__
for endpoints are automatically populated upon the discovery running, and we need to validate that this has happened.While this does not cause an
error
so to speak, it does cause the SDK to have unexpected behaviour and debug messages will assist in getting to the bottom of this quicker.Describe alternatives you've considered
NA
Additional context
Please add this to the list of things that needs to be documented for developers of the SDK.
The text was updated successfully, but these errors were encountered: