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 8845a3d commit 94616b0Copy full SHA for 94616b0
src/LdapServiceProvider.php
@@ -79,11 +79,9 @@ protected function registerLogging(): void
79
return;
80
}
81
82
- Container::getInstance()->setLogger(
83
- ($channel = Config::get('ldap.logging.channel'))
84
- ? $logger->channel($channel)
85
- : $logger
86
- );
+ $channelName = Config::get('ldap.logging.channel');
+ $channel = $logger->channel($channelName);
+ Container::getInstance()->setLogger($channel);
87
88
89
/**
0 commit comments