code: public static BinaryLog createBinaryLog(BinaryLogSink sink, String configStr) throws IOException {
      return new BinaryLogProviderImpl(sink, configStr);
    }
docs: Creates a binary log with a custom {@link BinaryLogSink} for receiving the logged data,
  and a config string as defined by
  <a href="https://github.com/grpc/proposal/blob/master/A16-binary-logging.md">
  A16-binary-logging</a>.