Scalr\LogCollector\ApiLogger::__construct PHP 메소드

__construct() 공개 메소드

Constructor. Instantiates ApiLogger, prepares backend
public __construct ( ApiLoggerConfiguration $config )
$config ApiLoggerConfiguration Api logger config object
    public function __construct($config)
    {
        parent::__construct(\Scalr::config('scalr.logger.api'));
        $this->ipAddress = $config->ipAddress;
        $this->requestId = $config->requestId;
        $this->requestType = $config->requestType;
    }