Skip to content

Commit

Permalink
Remove reference to FX_LOG_ALL (flutter#33027)
Browse files Browse the repository at this point in the history
It was partially removed in
https://fuchsia-review.googlesource.com/c/fuchsia/+/674049; this commit
allows remaining references to be removed.
  • Loading branch information
tamird authored May 1, 2022
1 parent d00bf2c commit e59fa96
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fml/log_settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <algorithm>
#include <cstring>
#include <iostream>
#include <limits>

#include "flutter/fml/build_config.h"
#include "flutter/fml/logging.h"
Expand All @@ -31,7 +32,11 @@ void SetLogSettings(const LogSettings& settings) {
std::min(LOG_FATAL, settings.min_log_level);
#if defined(OS_FUCHSIA)
// Syslog should accept all logs, since filtering by severity is done by fml.
FX_LOG_SET_SEVERITY(ALL);
fx_logger_t* logger = fx_log_get_logger();
if (logger) {
fx_logger_set_min_severity(logger,
std::numeric_limits<fx_log_severity_t>::min());
}
#endif
}

Expand Down

0 comments on commit e59fa96

Please sign in to comment.