EventLoggerInterface.php
Namespace
OpenTelemetry\API\LogsFile
-
vendor/
open-telemetry/ api/ Logs/ EventLoggerInterface.php
View source
<?php
declare (strict_types=1);
namespace OpenTelemetry\API\Logs;
use OpenTelemetry\Context\ContextInterface;
/**
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-api.md#events-api-interface
*/
interface EventLoggerInterface {
public function emit(string $name, mixed $body = null, ?int $timestamp = null, ?ContextInterface $context = null, ?Severity $severityNumber = null, iterable $attributes = []) : void;
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
EventLoggerInterface |