verbose

package
v0.0.0-...-e5fa29d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 58

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(format string, args ...interface{})

Log calls Printf(format, args...) iff Verbose() returns true.

func Quiet

func Quiet() bool

Quiet returns True if the verbose flag was set

func RegisterVerboseFlags

func RegisterVerboseFlags(app *kingpin.Application)

RegisterVerboseFlags registers -v|--verbose flags for general usage

func SetQuiet

func SetQuiet(q bool)

func SetVerbose

func SetVerbose(v bool)

func Verbose

func Verbose() bool

Verbose returns True if the verbose flag was set

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL