OpenTelemetry PHP

EventLogger
in package
implements EventLoggerInterface

Table of Contents

Interfaces

EventLoggerInterface

Properties

$clock  : ClockInterface
$logger  : LoggerInterface

Methods

emit()  : void

Properties

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> = []
Tags
see
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.32.0/specification/logs/event-sdk.md#emit-event

        
On this page

Search results