Skip to content

Commit 406265d

Browse files
committed
feat: register facade with LogManager instead of Logger
1 parent 0d4612d commit 406265d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LaravelLogEnhancementServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public function register()
6666
return new Logger($app->make(LoggerInterface::class));
6767
});
6868

69-
$this->app->bind('laravel-log-enhancement-logger',function(){
70-
return app()->make(Logger::class);
69+
$this->app->singleton('laravel-log-enhancement-logger', function ($app) {
70+
return new LogManager($app);
7171
});
7272
}
7373

0 commit comments

Comments
 (0)