跳转到内容

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