ttrss/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php

30 lines
733 B
PHP

<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Logs;
use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
/**
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md#logrecord-limits
*/
class LogRecordLimits
{
private AttributesFactoryInterface $attributesFactory;
/**
* @internal Use {@see SpanLimitsBuilder} to create {@see SpanLimits} instance.
*/
public function __construct(
AttributesFactoryInterface $attributesFactory
) {
$this->attributesFactory = $attributesFactory;
}
public function getAttributeFactory(): AttributesFactoryInterface
{
return $this->attributesFactory;
}
}