Scalr\Service\Aws\S3\DataType\BucketData::setLogging PHP Method

setLogging() public method

PUT Bucket logging action
public setLogging ( string $bucketLoggingStatus ) : boolean
$bucketLoggingStatus string A XML Document which describes configuration
return boolean Returns true on succes or false if failure.
    public function setLogging($bucketLoggingStatus)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->setLogging($this->bucketName, $bucketLoggingStatus);
    }