Documentation
¶
Index ¶
- Variables
- func Configure(opts Options)
- func ConfigureLoggerFromFlags()
- func CreateTable(headers []string) *tablewriter.Table
- func Debug(msg string, args ...interface{})
- func Fatal(msg string, args ...interface{})
- func Info(msg string, args ...interface{})
- func LogError(msg string, args ...interface{})
- func Out() io.Writer
- func RenderRow(table *tablewriter.Table, name, ver, status, pkgType string) error
- func SetLevel(level string)
- func SetOutput(w io.Writer)
- func Success(msg string, args ...interface{})
- func UseTestMode()
- func Warn(msg string, args ...interface{})
- func WarnInline(msg string, args ...interface{})
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlagVerboseCount int // -V, -VV, -VVV FlagQuiet bool // --quiet/-q FlagSilent bool // --silent/-s FlagJSON bool // optionnel pour CI )
Functions ¶
func ConfigureLoggerFromFlags ¶ added in v0.1.6
func ConfigureLoggerFromFlags()
func CreateTable ¶
func CreateTable(headers []string) *tablewriter.Table
func RenderRow ¶ added in v0.2.0
func RenderRow(table *tablewriter.Table, name, ver, status, pkgType string) error
func SetLevel ¶
func SetLevel(level string)
SetLevel adjusts current level at runtime ("debug","info","warn","error").
func WarnInline ¶
func WarnInline(msg string, args ...interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.