Parses an absl::LogSeverity flag value. See base/log_severity.h for the full documentation.

Synopsis

Declared in <absl/flags/marshalling.h>

bool
AbslParseFlag(
    std::string_view text,
    absl::LogSeverity* dst,
    std::string* err);

Return Value

true if the value was successfully parsed.

Parameters

Name

Description

text

The flag value text to parse.

dst

Output parameter that receives the parsed value.

err

Output parameter that receives an error message on failure.

Created with MrDocs