public function __construct($config) { parent::__construct(\Scalr::config('scalr.logger.api')); $this->ipAddress = $config->ipAddress; $this->requestId = $config->requestId; $this->requestType = $config->requestType; }