Documentation ¶
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func SetLogLevel(lvl LogLevel)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- func WithProgress(message string, fn func())
- func WithProgressE(message string, fn func() error) error
- type LogLevel
- type ProgressFn
- type Terminal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(lvl LogLevel)
func WithProgress ¶
func WithProgress(message string, fn func())
func WithProgressE ¶
Types ¶
type ProgressFn ¶
type ProgressFn func() error
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func NewTerminal ¶
func (*Terminal) HideCursor ¶
func (l *Terminal) HideCursor()
func (*Terminal) ResetPosition ¶
func (l *Terminal) ResetPosition()
func (*Terminal) ShowCursor ¶
func (l *Terminal) ShowCursor()
Click to show internal directories.
Click to hide internal directories.