public class LogJobFactory extends Object implements AsynchronousSpanSink.JobFactory
| 限定符和类型 | 方法和说明 |
|---|---|
Runnable |
createJob(SpanData data) |
static LogJobFactory |
withFile(String file) |
static LogJobFactory |
withWriter(Writer writer) |
public static LogJobFactory withWriter(Writer writer)
public static LogJobFactory withFile(String file) throws IOException
IOExceptionpublic Runnable createJob(SpanData data)
createJob 在接口中 AsynchronousSpanSink.JobFactoryCopyright © 2017. All rights reserved.