Documentation ¶
Overview ¶
Package log provides logging functions wraps fmt.Println with options and colors
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DiagnosticWriter controls logs output DiagnosticWriter = color.Error )
Functions ¶
func Debug ¶
func Debug(args ...interface{})
Debug writes the message to standard error in grey and with a new line.
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf formats according to the specifier, colors the message in grey, and writes to standard error.
func Error ¶
func Error(args ...interface{})
Error writes the message to standard error with the default color.
func Info ¶
func Info(args ...interface{})
Info writes the message to standard error with the default color.
func Infof ¶
func Infof(format string, args ...interface{})
Infof formats according to the specifier, and writes to standard error with the default color.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.