Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClearLine = code(esc + "2K\r") MoveUp = code(esc + "1F") MoveDown = code(esc + "1E") ShowCursor = code(esc + "?25h") HideCursor = code(esc + "?25l") )
Functions ¶
This section is empty.
Types ¶
type LineLogger ¶
type LineLogger struct {
// contains filtered or unexported fields
}
func (*LineLogger) Printf ¶
func (l *LineLogger) Printf(format string, a ...any)
func (*LineLogger) SetPrefix ¶
func (l *LineLogger) SetPrefix(pref string)
type MultiLogger ¶
type MultiLogger struct {
// contains filtered or unexported fields
}
func (*MultiLogger) PrintUntilDone ¶
func (ml *MultiLogger) PrintUntilDone(index int, printStr string, done <-chan bool, millis int)
func (*MultiLogger) SetPrefix ¶
func (ml *MultiLogger) SetPrefix(index int, pref string)
Click to show internal directories.
Click to hide internal directories.