1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:14:41 -07:00
go/internal
Ian Cottrell 96e9e165b7 cmd/golsp: format logging for the lsp inspector
This improves the logging capabilities of the jsonrpc 2 library to always
include the method and also an optional elapsed time.
This is used to implement an lsp inspector compatible logging mode in the golsp.

Change-Id: I2f7ac8b9298c4364b1b89cf6f696b534557ed139
Reviewed-on: https://go-review.googlesource.com/c/146157
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2018-11-02 22:32:51 +00:00
..
fastwalk internal/fastwalk: don't cross Dirent.Reclen boundry while looking for NULL in parseDirEnt 2018-10-13 18:20:35 +00:00
gopathwalk gopathwalk: don't log for nonexistant root dirs 2018-10-17 18:30:23 +00:00
jsonrpc2 cmd/golsp: format logging for the lsp inspector 2018-11-02 22:32:51 +00:00
lsp internal/lsp: use packagestest markers to test diagnostics 2018-11-02 21:57:01 +00:00
memcache godoc: move third-party godoc deps behind build tag 2018-10-02 22:38:33 +00:00
semver go/packages: add name= query 2018-10-16 20:20:09 +00:00