absl::SetVLogLevel

Sets the VLOG threshold for all files that match module_pattern, overwriting any prior value. Files that don't match aren't affected.

Synopsis

Declared in <absl/log/globals.h>

int
SetVLogLevel(
    std::string_view module_pattern,
    int threshold);

Return Value

The threshold that previously applied to module_pattern.

Parameters

NameDescription
module_patternThe pattern used to match file names.
thresholdThe new VLOG threshold for matching files.