OpenTelemetry PHP

BatchSpanProcessorBuilder
in package

Table of Contents

Properties

$exporter  : SpanExporterInterface
$logger  : LoggerInterface|null
$meterProvider  : MeterProviderInterface|null

Methods

__construct()  : mixed
build()  : BatchSpanProcessor
setLogger()  : self
Set the logger for the processor's internal messages. Without one, they go to the global internal logger, filtered by its global level.
setMeterProvider()  : self

Properties

Methods

setLogger()

Set the logger for the processor's internal messages. Without one, they go to the global internal logger, filtered by its global level.

public setLogger(LoggerInterface $logger) : self
Parameters
$logger : LoggerInterface
Return values
self
On this page

Search results