OpenTelemetry PHP

ConsoleExporter
in package
implements LogRecordExporterInterface

Writes log records as human-readable JSON.

The output format is unspecified, is not OTLP and may change between releases. Use it for debugging and learning, not for parsing or as input to other tools.

Tags
see
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/logs/sdk_exporters/stdout.md

Table of Contents

Interfaces

LogRecordExporterInterface

Properties

$transport  : TransportInterface

Methods

__construct()  : mixed
export()  : FutureInterface
forceFlush()  : bool
shutdown()  : bool
convertInstrumentationScope()  : array<string|int, mixed>
convertLogRecord()  : array<string|int, mixed>
convertResource()  : array<string|int, mixed>
scopeKey()  : string

Properties

Methods

On this page

Search results