mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Redefined logger services so that the error handler uses Shlink's logger
This commit is contained in:
parent
a8ea458649
commit
faa8019fc5
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,6 @@ return [
|
|||
EntityManager::class => EntityManagerFactory::class,
|
||||
GuzzleHttp\Client::class => InvokableFactory::class,
|
||||
Cache::class => CacheFactory::class,
|
||||
LoggerInterface::class => LoggerFactory::class,
|
||||
'Logger_Shlink' => LoggerFactory::class,
|
||||
|
||||
Translator::class => TranslatorFactory::class,
|
||||
|
@ -35,8 +34,9 @@ return [
|
|||
'httpClient' => GuzzleHttp\Client::class,
|
||||
'translator' => Translator::class,
|
||||
'logger' => LoggerInterface::class,
|
||||
Logger::class => LoggerInterface::class,
|
||||
AnnotatedFactory::CACHE_SERVICE => Cache::class,
|
||||
Logger::class => 'Logger_Shlink',
|
||||
LoggerInterface::class => 'Logger_Shlink',
|
||||
],
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue