Documentation
¶
Index ¶
Constants ¶
View Source
const ( LINE_RESET = "\r\033[2K" MOVE_UP = "\033[1A" MOVE_UP_CLEAR_LINE = "\033[1A\033[K" RESET_TEXT = "\033[0m" RED_TEXT = "\033[31m" GREEN_TEXT = "\033[32m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StepLogger ¶ added in v0.32.1
type StepLogger struct {
// contains filtered or unexported fields
}
func NewStepLogger ¶ added in v0.32.1
func NewStepLogger(silent bool) *StepLogger
func (*StepLogger) LogRetry ¶ added in v0.32.1
func (b *StepLogger) LogRetry()
LogRetry prints a retry message for the current step.
func (*StepLogger) Logf ¶ added in v0.32.1
func (b *StepLogger) Logf(message string, args ...interface{})
Logf prints a log message for the current step.
Click to show internal directories.
Click to hide internal directories.