[PATCH] D53647: [clangd] When replying, log the method name and latency.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 24 07:47:59 PDT 2018


sammccall added a comment.

Log now looks something like this:

  I[16:47:01.225] <-- textDocument/completion("2")
  I[16:47:01.233] Ignored diagnostic. /usr/local/google/home/sammccall/temp/test.cc:7:1:'main' must return 'int'
  I[16:47:01.234] Code complete: sema context Statement, query scopes [] (AnyScope=false)
  I[16:47:01.234] Code complete: 0 results from Sema, 0 from Index, 0 matched, 0 returned.
  I[16:47:01.234] --> reply:textDocument/completion("2") 8 ms


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53647





More information about the cfe-commits mailing list