Calls the exporter's export function with the serialized trace.
Examples
exp <- console_exporter(verbose = FALSE)
tr <- Trace$new("test-trace")
tr$start()
tr$end()
export_trace(exp, tr)
#> --- Trace: test-trace ---
#> Status: completed
#> Duration: 0.00s
#> Spans: 0