diff options
Diffstat (limited to 'vendor/open-telemetry/sdk/Logs/LogRecordLimits.php')
-rw-r--r-- | vendor/open-telemetry/sdk/Logs/LogRecordLimits.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php b/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php new file mode 100644 index 000000000..9f71e62ee --- /dev/null +++ b/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php @@ -0,0 +1,29 @@ +<?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; + } +} |