1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:16:11 -07:00
go/internal/event
Ian Cottrell 01e0872ccf internal/event: improve the logging of events
This extracts the printing code from the log writer so it can be re-used
and then changes the loggers in the lsp to use it.
This means that messages that used to look like

  date:
    message=text

now print as

  date: text

which makes the logs a lot easier to read.

Change-Id: I9dfbae47cdc9aeb7d3ca3279e445f39f2e590827
Reviewed-on: https://go-review.googlesource.com/c/tools/+/232989
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-05-11 17:49:55 +00:00
..
core internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
export internal/event: improve the logging of events 2020-05-11 17:49:55 +00:00
keys internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
label internal/event: extract keys to their own package 2020-04-23 18:13:43 +00:00
bench_test.go internal/event: extract keys to their own package 2020-04-23 18:13:43 +00:00
doc.go internal/telemetry: renaming to internal/event 2020-04-23 17:20:48 +00:00
event.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00