Use + instead of printf in logging exporter
@@ -33,7 +33,8 @@ public class LoggingExporter implements SpanExporter {
@Override
public CompletableResultCode export(Collection<SpanData> list) {
for (SpanData span : list) {
- System.out.printf("%s %s %s %s", prefix, span.getName(), span.getTraceId(), span.getSpanId());
+ System.out.print(
+ prefix + " " + span.getName() + " " + span.getTraceId() + " " + span.getSpanId() + " ");
span.getAttributes()
.forEach(
new AttributeConsumer() {
