Documentation ¶
Index ¶
- type Logger
- func (l *Logger) BeginOutput()
- func (l *Logger) BuildStep(step, command string)
- func (l *Logger) CacheHit(imageID string)
- func (l *Logger) CopyPath(file1, file2 string)
- func (l *Logger) EndOutput()
- func (l *Logger) Error(err interface{})
- func (l *Logger) EvalResponse(response string)
- func (l *Logger) Finish(response string)
- func (l *Logger) Good(str string) string
- func (l *Logger) Notice(str string) string
- func (l *Logger) Output() io.Writer
- func (l *Logger) Plan() string
- func (l *Logger) Print(str string)
- func (l *Logger) Progress(prefix string, count float64)
- func (l *Logger) Record()
- func (l *Logger) Tag(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger implements a per-plan logger.
func (*Logger) BeginOutput ¶
func (l *Logger) BeginOutput()
BeginOutput demarcates an output section
func (*Logger) Error ¶
func (l *Logger) Error(err interface{})
Error prints an error to the terminal all fancy-like.
func (*Logger) EvalResponse ¶
EvalResponse logs the eval response
func (*Logger) Notice ¶ added in v0.4.2
Notice is an arbitrary message explaining what the heck is going on.
Click to show internal directories.
Click to hide internal directories.