1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:14:46 -07:00
go/internal/event/export
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
..
eventtest internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
metric internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
ocagent internal/event: fix the agent start time 2020-05-01 00:59:04 +00:00
prometheus internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
id.go internal/telemetry: renaming to internal/event 2020-04-23 17:20:48 +00:00
log_test.go internal/event: change event.At to be a private field 2020-04-23 18:13:49 +00:00
log.go internal/event: improve the logging of events 2020-05-11 17:49:55 +00:00
printer.go internal/event: improve the logging of events 2020-05-11 17:49:55 +00:00
tag.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
trace.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00