Documentation
¶
Index ¶
- Constants
- func Debug(format string, v ...interface{})
- func DebugContinue(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func ErrorContinue(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func SetVerbosityLevel(level int)
- func Warn(format string, v ...interface{})
- func WarnContinue(format string, v ...interface{})
Constants ¶
const ( DEBUG = -1 + iota // start with -1 DEFAULT // should be 0 WARN ERROR )
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(format string, v ...interface{})
Prints debug messages. Same syntax as fmt.Printf.
func DebugContinue ¶
func DebugContinue(format string, v ...interface{})
Prints a debug message if enabled but without the "DEBUG: " prefix. Same syntax as fmt.Printf.
func Error ¶
func Error(format string, v ...interface{})
Prints an error message. Same syntax as fmt.Printf.
func ErrorContinue ¶
func ErrorContinue(format string, v ...interface{})
Prints an error message but without the "ERROR: " prefix. Same syntax as fmt.Printf.
func Info ¶
func Info(format string, v ...interface{})
Prints an info message if enabled. This is for general feedback about what gobuild is currently doing. Same syntax as fmt.Printf.
func SetVerbosityLevel ¶
func SetVerbosityLevel(level int)
Sets the verbosity level. Possible values are DEBUG, DEFAULT, WARN and ERROR. DEFAULT is the standard value which will print everything but debug messages.
func Warn ¶
func Warn(format string, v ...interface{})
Prints a warning if warnings are enabled. Same syntax as fmt.Printf.
func WarnContinue ¶
func WarnContinue(format string, v ...interface{})
Prints a warning message if enabled but without the "WARNING: " prefix. Same syntax as fmt.Printf.
Types ¶
This section is empty.