[PATCH] D92198: [clangd] Log remote index connectivity status

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 05:17:31 PST 2020


sammccall added inline comments.


================
Comment at: clang-tools-extra/clangd/index/remote/Client.cpp:91
     SPAN_ATTACH(Tracer, "Failed to parse", FailedToParse);
+    vlog("Remote index ({0}): {1} -> {2}", ServerAddress, toString(OldStatus),
+         toString(Channel->GetState(/*try_to_connect=*/false)));
----------------
we might want to put the server address at the end in [], mirroring D92181


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92198/new/

https://reviews.llvm.org/D92198



More information about the cfe-commits mailing list