message: Silence logging
  Summary: Denoise the output. Unless crashing on violations, only log violations in TRACE 1 mode.
diff: @@ -314,6 +314,7 @@ unsigned AppModuleUsagePass::gather_violations(
  const app_module_usage::MethodStoresReferenced& method_store_refs,
  const ConcurrentMap<DexField*, DexStore*>& field_store_refs,
  app_module_usage::Violations& violations) const {
  + int trace_level = m_crash_with_violations ? 0 : 1;
  unsigned n_violations{0u};
  for (const auto& [method, stores_referenced] : method_store_refs) {
  @@ -327,7 +328,7 @@ unsigned AppModuleUsagePass::gather_violations(
  }
  TRACE(
  APP_MOD_USE,
  - 0,
  + trace_level,
  "%s (from module \"%s\") uses app module \"%s\" without annotation\n",
  method_name.c_str(),
  m_type_store_map.at(method->get_class())->get_name().c_str(),
  @@ -346,7 +347,7 @@ unsigned AppModuleUsagePass::gather_violations(
  continue;
  }
  TRACE(APP_MOD_USE,
  - 0,
  + trace_level,
  "%s (from module \"%s\") uses app module \"%s\" without annotation\n",
  field_name.c_str(),
  m_type_store_map.at(field->get_class())->get_name().c_str(),
  @@ -354,6 +355,12 @@ unsigned AppModuleUsagePass::gather_violations(
  violations[field_name].emplace(store->get_name());
  n_violations++;
  }
  +
  + if (!traceEnabled(APP_MOD_USE, trace_level) && n_violations > 0) {
  + TRACE(APP_MOD_USE, 0,
  + "Found violations, re-run with TRACE=APP_MOD_USE:1 for details.");
  + }
  +
  return n_violations;
  }
  