logger

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2017 License: Apache-2.0 Imports: 2 Imported by: 4 modules, 26 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 New

func New(plan string) *Logger

New constructs a new per-plan logger.

func (*Logger) BeginOutput

func (l *Logger) BeginOutput()

BeginOutput demarcates an output section

func (*Logger) BuildStep

func (l *Logger) BuildStep(step, command string)

BuildStep logs a build step.

func (*Logger) CacheHit

func (l *Logger) CacheHit(imageID string)

CacheHit logs a cache hit.

func (*Logger) CopyPath

func (l *Logger) CopyPath(file1, file2 string)

CopyPath logs a copied path

func (*Logger) EndOutput

func (l *Logger) EndOutput()

EndOutput ends 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

func (l *Logger) EvalResponse(response string)

EvalResponse logs the eval response

func (*Logger) Finish

func (l *Logger) Finish(response string)

Finish logs the finish.

func (*Logger) Tag

func (l *Logger) Tag(name string)

Tag logs a tag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL