@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/4017") public final class BinaryLogs extends java.lang.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,
java.lang.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 java.io.IOException
java.io.IOException@Deprecated public static BinaryLog createBinaryLog(BinaryLogSink sink) throws java.io.IOException
java.io.IOExceptionpublic static BinaryLog createBinaryLog(BinaryLogSink sink, java.lang.String configStr) throws java.io.IOException
BinaryLogSink for receiving the logged data,
and a config string as defined by
A16-binary-logging.java.io.IOException