class EchoExporter implements ExporterInterface

This implementation of the ExporterInterface uses print_r to output the trace's representation to stdout.

Example:

use OpenCensus\Trace\Exporter\EchoExporter;
use OpenCensus\Trace\Tracer;

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

Methods

bool
export(array $spans)

Report the provided Trace to a backend.

Details

at line 43
bool export(array $spans)

Report the provided Trace to a backend.

Parameters

array $spans

Return Value

bool