public setLogging ( |
||
$bucketName | A bucket name. | |
$bucketLoggingStatus | string | A XML Document which describes configuration |
Résultat | boolean | Returns true on succes or false if failure. |
public function setLogging($bucketName, $bucketLoggingStatus)
{
if ($bucketName instanceof BucketData) {
$bucketName = $bucketName->bucketName;
}
return $this->getS3()->getApiHandler()->setBucketLogging($bucketName, $bucketLoggingStatus);
}