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
I have added logging of the SQL just before the statement is executed. It will log the parsed query, so that parameters are logged as ?. Instead of adding a setSqlLogging() or similar, it will simply log queries at DEBUG level, so that it utilizes default logging behavior.
This is a simple request but one could avoid writing pesky log statements in multiple places to log sql query.
My take:
Sql2o and Query both could provide a method something like:
setSqlLogging(boolean enable, LogLevel ..);
Log Level could decide which level should be used for logging SQL. Default could be debug / error.
The text was updated successfully, but these errors were encountered: