Add SEVERITY_CRITICAL to logging, that would help to suppress logs from the fuzz target.

Follow-up CL will be https://chromium-review.googlesource.com/c/chromium/src/+/1073395

Bug: 846721
Change-Id: Ie9e6dc5c5ef6b035c414fbdc4f711f995b52f4d7
Reviewed-on: https://chromium-review.googlesource.com/1073394
Reviewed-by: Will Harris <wfh@chromium.org>
This commit is contained in:
Max Moroz 2018-05-27 14:28:07 -07:00 committed by Will Harris
parent 9eac2058b7
commit 27c001192b
2 changed files with 14 additions and 1 deletions

View file

@ -69,6 +69,9 @@ LogStream::LogStream(std::ostream &stream, Severity severity,
case SEVERITY_ERROR:
severity_string = "ERROR";
break;
case SEVERITY_CRITICAL:
severity_string = "CRITICAL";
break;
}
stream_ << time_string << ": " << PathnameStripper::File(file) << ":" <<