Documentation ¶
Overview ¶
Package logging provides a simple framework for reporting messages and the import progress.
Index ¶
- Constants
- func Debugf(msg string, args ...interface{})
- func Errorf(msg string, args ...interface{})
- func Fatalf(msg string, args ...interface{})
- func Infof(msg string, args ...interface{})
- func Progress(msg string)
- func SetQuiet(quiet bool)
- func Shutdown()
- func Warnf(msg string, args ...interface{})
- type Level
- type LogBroker
- type Logger
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(msg string, args ...interface{})
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) Fatalf(msg string, args ...interface{})
- func (l *Logger) Print(args ...interface{})
- func (l *Logger) Printf(msg string, args ...interface{})
- func (l *Logger) Printfl(level Level, msg string, args ...interface{})
- func (l *Logger) StartStep(msg string) string
- func (l *Logger) StopStep(msg string)
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(msg string, args ...interface{})
- type Record
- type Step
Constants ¶
View Source
const (
CLEARLINE = "\x1b[2K"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogBroker ¶
Click to show internal directories.
Click to hide internal directories.