Is there a best practice for this use case?
Here are some options.
// Duplicate every field (sounds like you're doing this)
message FooRequest {
required string prompt = 1;
required int64 timeout = 2;
required Foo foo = 3;
}
message BarRequest {
required string prompt = 1;
required int
I have a similar need but haven't looked into a solution. However, would
using "bytes" instead of "string" prevent the output? Or does the debug
logging also output the contents of the bytes?
-- TJ
On Thu, Feb 17, 2011 at 6:10 PM, Robert H wrote:
> If you use protobuf for confidential data, ena
Kenton,
I have a message that contains fields that should never be logged. It would
be great if there was a way that the Message.toString() did not
automatically convert everything to a text representation. I'd love it if it
were an opt-in for the TextFormat instead of trying never to use toString