Documentation
¶
Overview ¶
Package log prints install progress, preserving the "[step]: name" output the shell scripts produced so existing CI log scrapers keep working.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Elapsed ¶ added in v0.2.0
Elapsed prints how long an operation took, as "(label took 1.234s)", so a slow install can be attributed to a step from its log alone. Use it as `defer log.Elapsed(time.Now(), "ko resolve")`: the start time is captured when the defer statement runs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.