LogRecordAttributeValidator.php
Namespace
OpenTelemetry\SDK\Common\AttributeFile
-
vendor/
open-telemetry/ sdk/ Common/ Attribute/ LogRecordAttributeValidator.php
View source
<?php
declare (strict_types=1);
namespace OpenTelemetry\SDK\Common\Attribute;
class LogRecordAttributeValidator implements AttributeValidatorInterface {
public function validate($value) : bool {
return true;
}
public function getInvalidMessage() : string {
//not required as this validator always returns true
return 'unused';
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
LogRecordAttributeValidator |