ConsoleSpanExporter
Prints the traces and spans to the console
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ConsoleSpanExporter(): ConsoleSpanExporter
Returns
Section titled “Returns”ConsoleSpanExporter
Methods
Section titled “Methods”export()
Section titled “export()”export(items): Promise<void>
Export the given traces and spans
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
|
( |
The traces and spans to export |
Returns
Section titled “Returns”Promise
<void
>