public __construct ( string $name, Webiny\Component\Logger\Bridge\LoggerDriverInterface $driverInstance ) : |
||
$name | string | Logger name |
$driverInstance | Webiny\Component\Logger\Bridge\LoggerDriverInterface | |
return |
public function __construct($name, $driverInstance)
{
$this->driverInstance = $driverInstance;
$this->driverInstance->setName($name);
}