Documentation
¶
Index ¶
- func Debug(format string, v ...interface{})
- func Disable()
- func Enable()
- func EndTimer(operation string)
- func Error(format string, v ...interface{})
- func Fatal(format string, v ...interface{})
- func GetPhaseStart() time.Time
- func Info(format string, v ...interface{})
- func IsDebugEnabled() bool
- func IsQuietMode() bool
- func Output(format string, v ...interface{})
- func Phase(name string)
- func SetColorEnabled(enabled bool)
- func SetQuiet(enabled bool)
- func StartTimer(operation string)
- func Warn(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(format string, v ...interface{})
Debug logs a debug message if debug mode is enabled
func EndTimer ¶
func EndTimer(operation string)
EndTimer ends timing an operation and logs the duration
func GetPhaseStart ¶
GetPhaseStart returns the current phase start time
func Info ¶
func Info(format string, v ...interface{})
Info logs an info message if debug mode is enabled and not in quiet mode
func IsDebugEnabled ¶ added in v0.2.3
func IsDebugEnabled() bool
IsDebugEnabled returns whether debug mode is enabled
func IsQuietMode ¶ added in v0.3.0
func IsQuietMode() bool
IsQuietMode returns whether quiet mode is enabled
func Output ¶ added in v0.3.0
func Output(format string, v ...interface{})
Output logs regular output (suppressed in quiet mode)
func SetColorEnabled ¶
func SetColorEnabled(enabled bool)
SetColorEnabled enables or disables color output
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.