public function getLogging($bucketName) { if ($bucketName instanceof BucketData) { $bucketName = $bucketName->bucketName; } return $this->getS3()->getApiHandler()->getBucketLogging($bucketName); }