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

Feature request: error and latency logging #85

Closed
mickeyreiss opened this issue Jul 25, 2021 · 2 comments
Closed

Feature request: error and latency logging #85

mickeyreiss opened this issue Jul 25, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@mickeyreiss
Copy link

mickeyreiss commented Jul 25, 2021

It would be nice if the LoggerFunc interface also had provided to it the outcome of the query, such as the number of rows returned, execution latency and the error. This could also be achieved by providing a middleware interceptor.

@go-jet
Copy link
Owner

go-jet commented Jul 27, 2021

Agreed.

@go-jet go-jet added the enhancement New feature or request label Dec 3, 2021
@go-jet go-jet added this to the Version 2.7.0 milestone Dec 3, 2021
@go-jet go-jet mentioned this issue Jan 20, 2022
@go-jet
Copy link
Owner

go-jet commented Jan 20, 2022

New SetQueryLogger function added to support this feature in Release 2.7.0 - wiki

@go-jet go-jet closed this as completed Jan 20, 2022
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

2 participants