Documentation
¶
Index ¶
- Constants
- Variables
- func AddResult(pr int, service string, buildNumber int, url string)
- func FlushJSON()
- func Printf(format string, args ...interface{})
- func Println(args ...interface{})
- func Quietf(format string, args ...interface{})
- func Verbosef(format string, args ...interface{})
- func Writer() io.Writer
- type BuildResult
Constants ¶
View Source
const ( VerbositySilent = iota VerbosityJSON VerbosityQuiet VerbosityNormal VerbosityVerbose )
Verbosity levels (ordered from least to most output)
Variables ¶
View Source
var Level = VerbosityNormal
Level controls the output verbosity. Set before any output calls.
Functions ¶
func FlushJSON ¶
func FlushJSON()
FlushJSON outputs collected results as a JSON array and resets the collector
func Printf ¶
func Printf(format string, args ...interface{})
Printf prints normal output with color support (suppressed in quiet, json, and silent modes)
func Println ¶
func Println(args ...interface{})
Println prints normal output (suppressed in quiet, json, and silent modes)
func Quietf ¶
func Quietf(format string, args ...interface{})
Quietf prints output only in quiet mode with color support. Use this for the minimal machine-readable output.
Types ¶
Click to show internal directories.
Click to hide internal directories.