Documentation
¶
Overview ¶
Package log writes diagnostics to stderr, separate from report data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorEnabled ¶ added in v0.8.0
ColorEnabled respects explicit configuration and common terminal conventions.
func IsTerminal ¶ added in v0.8.0
IsTerminal reports whether a writer is connected to a terminal.
Types ¶
type FileProgress ¶ added in v0.8.0
type FileProgress struct {
// contains filtered or unexported fields
}
FileProgress renders a terminal-only progress bar based on completed source files.
func NewFileProgress ¶ added in v0.8.0
func NewFileProgress(total int) *FileProgress
NewFileProgress reports progress based on each completed file's proportional share of the total. Terminals get a 100-character bar; other writers get concise checkpoints to avoid flooding captured output.
func (*FileProgress) Complete ¶ added in v0.8.0
func (p *FileProgress) Complete()
Complete marks one source file complete and emits progress when the display reaches its next percentage point or captured-output checkpoint.
func (*FileProgress) Finish ¶ added in v0.8.0
func (p *FileProgress) Finish()
Finish finalizes the progress display, ending an interactive bar line.