Deprecate and remove usage for WARNING log level

Bug: webrtc:13362
Change-Id: Ida112158e4ac5f667e533a0ebfedb400c84df4d9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239124
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35425}
This commit is contained in:
Harald Alvestrand
2021-11-27 21:31:08 +00:00
committed by WebRTC LUCI CQ
parent 150503566c
commit ef5b21e637
34 changed files with 91 additions and 85 deletions

View File

@ -70,8 +70,9 @@ float FecControllerDefault::GetProtectionOverheadRateThreshold() {
<< overhead_threshold;
return overhead_threshold;
} else if (overhead_threshold < 0 || overhead_threshold > 1) {
RTC_LOG(WARNING) << "ProtectionOverheadRateThreshold field trial is set to "
"an invalid value, expecting a value between (0, 1].";
RTC_LOG(LS_WARNING)
<< "ProtectionOverheadRateThreshold field trial is set to "
"an invalid value, expecting a value between (0, 1].";
}
// WebRTC-ProtectionOverheadRateThreshold field trial string is not found, use
// the default value.