Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdd869eb authored by Myles Watson's avatar Myles Watson Committed by Gerrit Code Review
Browse files

Merge "Revert "log: Change default log level to DEBUG"" into main

parents c912ae80 3654c7f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -29,8 +29,8 @@ static constexpr size_t kBufferSize = 1024;
void vlog(Level level, char const* tag, source_location location,
void vlog(Level level, char const* tag, source_location location,
          fmt::string_view fmt, fmt::format_args vargs) {
          fmt::string_view fmt, fmt::format_args vargs) {
  // Check if log is enabled.
  // Check if log is enabled.
  if (!__android_log_is_loggable(level, tag, ANDROID_LOG_DEBUG) &&
  if (!__android_log_is_loggable(level, tag, ANDROID_LOG_INFO) &&
      !__android_log_is_loggable(level, "bluetooth", ANDROID_LOG_DEBUG)) {
      !__android_log_is_loggable(level, "bluetooth", ANDROID_LOG_INFO)) {
    return;
    return;
  }
  }