We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad76e00 commit d9299f4Copy full SHA for d9299f4
src/ServiceProvider.php
@@ -33,7 +33,7 @@ public function boot()
33
return;
34
}
35
36
- DB::listen(function (QueryExecuted $query) {
+ $this->app['events']->listen(function (QueryExecuted $query) {
37
if ($query->time < $this->app['config']->get('logging.query.slower_than', 0)) {
38
39
0 commit comments