I'm using protobuf version 2.6.1 and I have this message configured in my .proto file -
message Login {
optional string host = 1;
optional uint32 port = 2;
optional string user = 3;
optional string password = 4;
}
How can I mask user and password fields from being printed to log or in toString()?