build/livelog
Michael Pratt 7e22aac559 livelog: annotate log truncation
Build log truncation is currently silent and can easily go unnoticed
unless you notice missing expected output (such as a filename line
following a function name in a stack trace).

Adjust livelog to explicitly annotate truncation at the end of a log so
that it is very clear to readers.

Fixes golang/go#45972

Change-Id: I5ad555232ba670bfb37d2eb3d2260307468c28a9
Reviewed-on: https://go-review.googlesource.com/c/build/+/317209
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-05 21:41:54 +00:00
..
README.md
livelog.go livelog: annotate log truncation 2021-05-05 21:41:54 +00:00
livelog_test.go livelog: annotate log truncation 2021-05-05 21:41:54 +00:00

README.md

Go Reference

golang.org/x/build/livelog

Package livelog provides a buffer that can be simultaneously written to by one writer and read from by many readers.