You are here

public function LdapDetailLog::__construct in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_servers/src/Logger/LdapDetailLog.php \Drupal\ldap_servers\Logger\LdapDetailLog::__construct()

LdapDetailLog constructor.

Parameters

\Drupal\Core\Logger\LoggerChannelFactoryInterface $factory: Logger factory.

\Drupal\Core\Config\ConfigFactoryInterface $config: Config factory.

File

ldap_servers/src/Logger/LdapDetailLog.php, line 24

Class

LdapDetailLog
The detailed logger for the LDAP modules.

Namespace

Drupal\ldap_servers\Logger

Code

public function __construct(LoggerChannelFactoryInterface $factory, ConfigFactoryInterface $config) {
  $this->loggerFactory = $factory;
  $this->config = $config
    ->get('ldap_help.settings');
}