absl::LogEntry::encoded_message

Returns a serialized protobuf holding the operands streamed into this log message. The message definition is not yet published.

Synopsis

Declared in <absl/log/log_entry.h>

std::string_view
encoded_message() const;

Description

The buffer does not outlive the entry; if you need the data later, you must copy it.

Return Value

The serialized protobuf encoding of the message.