absl::LogEntry::prefix

Returns true unless the metadata prefix was suppressed once by LOG(...).NoPrefix() or globally by absl::EnableLogPrefix(false). Implies text_message_with_prefix() == text_message().

Synopsis

Declared in <absl/log/log_entry.h>

bool
prefix() const;

Return Value

Whether the metadata prefix is present.