Returns a nul‐terminated C string of the text‐formatted message including its metadata prefix and trailing newline.

Synopsis

Declared in <absl/log/log_entry.h>

char const*
text_message_with_prefix_and_newline_c_str() const;

Description

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

Return Value

A pointer to the nul‐terminated, prefixed message.

Created with MrDocs