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 0228d0a commit 2880703Copy full SHA for 2880703
src/LaravelLogEnhancementServiceProvider.php
@@ -60,16 +60,16 @@ private function routeConfiguration()
60
*/
61
public function register()
62
{
63
- $this->app->singleton('laravel-log-enhancement-logger', function (Application $app) {
+ $this->app->singleton('log', function (Application $app) {
64
return new LogManager($app);
65
});
66
}
67
68
public function registerHooks()
69
70
Queue::before(function () {
71
- $this->app->forgetInstance('laravel-log-enhancement-logger');
72
- Facade::clearResolvedInstance('laravel-log-enhancement-logger');
+ $this->app->forgetInstance('log');
+ Facade::clearResolvedInstance('log');
73
74
75
0 commit comments