From d0530a6e035d6bbba42313b9e075672c08a89c32 Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Tue, 18 Jan 2022 19:40:35 +0000 Subject: [PATCH] Use ErrorLog instead of InfoLog in InstanceBase::ConsumedError Printing to stdout actually impacts Web Tests results which makes managing expectations difficult, especially if logs change. Change InfoLog to ErrorLog: 1) because this is ConsumedError, after all 2) until we figure out if we can make Web Tests ignore stdout Bug: chromium:1266550 Change-Id: I05f47f8b6d7a8e11568c5ee87eabab0cfd7c02d6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/76680 Reviewed-by: Loko Kung Commit-Queue: Austin Eng --- src/dawn_native/Instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn_native/Instance.cpp b/src/dawn_native/Instance.cpp index 201487e3b7..7b4935112e 100644 --- a/src/dawn_native/Instance.cpp +++ b/src/dawn_native/Instance.cpp @@ -345,7 +345,7 @@ namespace dawn::native { std::unique_ptr error = maybeError.AcquireError(); ASSERT(error != nullptr); - dawn::InfoLog() << error->GetFormattedMessage(); + dawn::ErrorLog() << error->GetFormattedMessage(); return true; } return false;