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
Personally when I want to load my app configuration or service context, I execute some queries which makes a mess in stdout each time I want to debug and I want to remove it :). also want to have sql statement logs after app initialization.
Although this is not the solution (because of concurrency issues), but I think considering a way to manage logs for specific db model queries would be useful too.
i think there should be a method called
sqlx.EnableLog()
so that after disabling sql logs in a scenario, developer can enable logs again.i can send a PR if you prefer.
The text was updated successfully, but these errors were encountered: