-
Notifications
You must be signed in to change notification settings - Fork 370
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
logger callback #130
logger callback #130
Conversation
Hi,
|
In my point, a good thing could to create a kind of new idiorm version to integrate some breaking change. Like that we could remove the current logging system to a callback system, letting user keep an array of query if they want. Then we could pass to this callback a kind of query log if the prepared query, params, maybe the execution time .... That 's not a big work but it's a big change and I don't know if a new version is expected. |
+1 |
i wish to have a log callback providing a pointer to a class that implements an certain interface (i.e. like RedBean does) |
There won't be a certain interface to implement just a callback that you |
Thank you for the pull request. All it needs are a couple of tests and some documentation. Then it can be merged! |
ref #126