Trace\Exporter\NullExporter | OpenCensus PHP API

class NullExporter implements ExporterInterface

This implementation of the ExporterInterface does nothing.

Example:

use OpenCensus\Trace\Exporter\NullExporter;
use OpenCensus\Trace\Tracer;

$exporter = new NullExporter();
Tracer::begin($exporter);

Methods

bool

export(array $spans)

Does nothing.

Details

at line 42

bool export(array $spans)