absl::LogEntry::text_message

Returns the text-formatted message without its metadata prefix and without a trailing newline.

Synopsis

Declared in <absl/log/log_entry.h>

std::string_view
text_message() const;

Description

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

Return Value

The unprefixed message, without a trailing newline.