Make validation logs ERROR level (flutter/engine#42825)

INFO logs do not show up in normal logging unless an extra flag is passed by the tool (and it is a different flag from the "-v" flag).

This means bug reports that include logs about impeller are missing the validation errors, which makes them harder to triage and dedupe.

Fixes https://github.com/flutter/flutter/issues/128808
This commit is contained in:
Dan Field
2023-06-13 15:43:53 -07:00
committed by GitHub
parent 7e0b1c3ca9
commit 8cbdaca6a8

View File

@@ -46,7 +46,7 @@ void ImpellerValidationBreak(const char* message) {
if (sValidationLogsAreFatal) {
FML_LOG(FATAL) << stream.str();
} else {
FML_LOG(INFO) << stream.str();
FML_LOG(ERROR) << stream.str();
}
#endif // IMPELLER_DEBUG
}