Skip to content

ConsoleSpanExporter

Prints the traces and spans to the console

new ConsoleSpanExporter(): ConsoleSpanExporter

ConsoleSpanExporter

export(items): Promise<void>

Export the given traces and spans

Parameter Type Description

items

(Trace | Span)[]

The traces and spans to export

Promise<void>

TracingExporter.export