Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Heading(v ...interface{})
- func Headingf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Log(l *log.Logger, color string, v ...interface{})
- func Logf(l *log.Logger, color, format string, v ...interface{})
- func StdErrOutput(b []byte) (n int, err error)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Writer
Constants ¶
View Source
const ( ColorNC = "\x1b[0m" // No Color ColorWhite = "\x1b[1;37m" ColorBlack = "\x1b[0;30m" ColorBlue = "\x1b[0;34m" ColorLightBlue = "\x1b[1;34m" ColorGreen = "\x1b[0;32m" ColorLightGreen = "\x1b[1;32m" ColorCyan = "\x1b[0;36m" ColorLightCyan = "\x1b[1;36m" ColorRed = "\x1b[0;31m" ColorLightRed = "\x1b[1;31m" ColorPurple = "\x1b[0;35m" ColorLightPurple = "\x1b[1;35m" ColorBrown = "\x1b[0;33m" ColorYellow = "\x1b[1;33m" ColorGrey = "\x1b[0;30m" ColorLightGrey = "\x1b[0;37m" )
Variables ¶
View Source
var ( Silent bool Verbose bool Color bool )
Functions ¶
func StdErrOutput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.