OpenTelemetry PHP

EventLoggerInterface

Tags
see
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-api.md#events-api-interface

Table of Contents

Methods

emit()  : void

Methods

emit()

public emit(string $name[, mixed $body = null ][, int|null $timestamp = null ][, ContextInterface|null $context = null ][, Severity|null $severityNumber = null ][, iterable<string|int, mixed> $attributes = [] ]) : void
Parameters
$name : string
$body : mixed = null
$timestamp : int|null = null
$context : ContextInterface|null = null
$severityNumber : Severity|null = null
$attributes : iterable<string|int, mixed> = []

        
On this page

Search results