OpenTelemetry PHP

ConsoleExporter
in package
implements LogRecordExporterInterface

A JSON console exporter for LogRecords. This is only useful for testing; the output is human-readable, and is not compatible with the OTLP format.

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