verbose

package
v0.0.0-...-eb31e87 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

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(flags *flag.FlagSet)

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