@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/4017") public final class BinaryLogs extends Object
Modifier and Type | Method and Description |
---|---|
static BinaryLog |
createBinaryLog()
Creates a binary log that writes to a temp file.
|
static BinaryLog |
createBinaryLog(BinaryLogSink sink)
Deprecated.
|
static BinaryLog |
createBinaryLog(BinaryLogSink sink,
String configStr)
Creates a binary log with a custom
BinaryLogSink for receiving the logged data,
and a config string as defined by
A16-binary-logging. |
public static BinaryLog createBinaryLog() throws IOException
IOException
@Deprecated public static BinaryLog createBinaryLog(BinaryLogSink sink) throws IOException
IOException
public static BinaryLog createBinaryLog(BinaryLogSink sink, String configStr) throws IOException
BinaryLogSink
for receiving the logged data,
and a config string as defined by
A16-binary-logging.IOException