static byte[] toLogResponse() {
        return LogProtocol.LogResponse.newBuilder().build().toByteArray();
    }
Utility class for serialization of log requests and responses.

@author bjorncs
logserver/src/main/java/ai/vespa/logserver/protocol/ProtobufSerialization.java