absl::LogEntry::text_message_with_prefix_and_newline

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

Synopsis

Declared in <absl/log/log_entry.h>

std::string_view
text_message_with_prefix_and_newline() const;

Description

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

Return Value

The prefixed message, with a trailing newline.