Returns the value of the Prepend Log Prefix option.

Synopsis

Declared in <absl/log/globals.h>

[[nodiscard]]
bool
ShouldPrependLogPrefix();

Description

This function is async‐signal‐safe.

Return Value

True if messages should include the prefix.

Note

The return value should not be discarded.

Created with MrDocs