@AutoService(value=Writer.class) public class LoggingWriter extends Object implements Writer
| Constructor and Description |
|---|
LoggingWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Indicates to the writer that no future writing will come and it should terminates all
connections and tasks
|
void |
start()
Start the writer
|
void |
write(List<DDBaseSpan<?>> trace)
Write a trace represented by the entire list of all the finished spans
|
void |
writeServices(Map<String,Service> services)
Report additional service information to the endpoint
|
public void write(List<DDBaseSpan<?>> trace)
Writerpublic void writeServices(Map<String,Service> services)
WriterwriteServices in interface Writerservices - a list of extra information about servicespublic void close()
Writer