Consumes source_loc's available bytes corresponding to the size of the (formatted) str and returns its status.
Declared in <logging.h>
[[nodiscard, requires_capability(0x7f2e42419db8)]]
Status
Consume(
SourceLocation const& source_loc,
std::string const& str);
The suppression status for this location after consuming the string.
The return value should not be discarded.
| Name | Description |
|---|---|
| source_loc | The source location the log entry originates from. |
| str | The formatted log string whose size is charged against the location's budget. |