[clangd] When replying, log the method name and latency.
authorSam McCall <sam.mccall@gmail.com>
Wed, 24 Oct 2018 15:18:40 +0000 (15:18 +0000)
committerSam McCall <sam.mccall@gmail.com>
Wed, 24 Oct 2018 15:18:40 +0000 (15:18 +0000)
commitd7babe4e1247ce6144b0c7e44ea762b476503254
treecbafba9bd16bdd4b674f71d0d44825738b716faf
parent3b206305fd6afec0ec02749b8ebe7b5c19c7a0a1
[clangd] When replying, log the method name and latency.

Summary:
This information is strictly available in the log (you can find the original
call) but it makes the log easier to follow in practice.

Reviewers: kadircet

Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits

Differential Revision: https://reviews.llvm.org/D53647

llvm-svn: 345150
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h