Documentation ¶
Overview ¶
printer package provides utility for displaying messages to users.
Index ¶
- Variables
- func Debugf(fmtString string, args ...interface{})
- func Debugln(args ...interface{})
- func Errorf(fmtString string, args ...interface{})
- func Errorln(args ...interface{})
- func Infof(fmtString string, args ...interface{})
- func Infoln(args ...interface{})
- func RawOutput(args ...interface{})
- func SwitchToJSON()
- func SwitchToPlain()
- func Warningf(fmtString string, args ...interface{})
- func Warningln(args ...interface{})
- type P
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SwitchToJSON ¶ added in v0.17.4
func SwitchToJSON()
func SwitchToPlain ¶ added in v0.17.4
func SwitchToPlain()
Types ¶
type P ¶
type P interface { // Mimics the behavior of fmt.Println Infoln(args ...interface{}) Warningln(args ...interface{}) Errorln(args ...interface{}) Debugln(args ...interface{}) Infof(f string, args ...interface{}) Warningf(f string, args ...interface{}) Errorf(f string, args ...interface{}) Debugf(f string, args ...interface{}) V(level int) P // Output with no header RawOutput(args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.