Consumes source_loc's available bytes corresponding to the size of the (formatted) str and returns its status.
Synopsis
Declared in <logging.h>
[[nodiscard, requires_capability(0x7f2e42419db8)]]
Status
Consume(
SourceLocation const& source_loc,
std::string const& str);
Return Value
The suppression status for this location after consuming the string.
|
Note
|
The return value should not be discarded. |
Parameters
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. |
Created with MrDocs