[BASE] Use FlushAllSinks instead of inline loop
This commit is contained in:
@@ -389,9 +389,7 @@ class Logger {
|
|||||||
desired_count = 1;
|
desired_count = 1;
|
||||||
|
|
||||||
if (cvars::flush_log) {
|
if (cvars::flush_log) {
|
||||||
for (const auto& sink : sinks_) {
|
FlushAllSinks();
|
||||||
sink->Flush();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
idle_loops = 0;
|
idle_loops = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user