@Override
    public void maybeExport(Supplier<TraceDescription> traceDescriptionSupplier) {
        var traceDescription = traceDescriptionSupplier.get();
        if (traceDescription.getTrace() != null) {
            log.log(Level.WARNING, String.format("%s: %s", traceDescription.getDescription(),
                    traceDescription.getTrace().toString()));
        }
    }
Trace exporter which dumps traces and their description as warning-entries in the Vespa log.
container-search/src/main/java/com/yahoo/vespa/streamingvisitors/tracing/LoggingTraceExporter.java