log

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	StartLogger(context.Context, io.Writer, []string) error

	StopLogger()

	Mute()

	Unmute()

	SetSince(time.Time)

	RegisterBuildArtifacts([]graph.Artifact)
}

type NoopLogger

type NoopLogger struct{}

func (*NoopLogger) Mute

func (n *NoopLogger) Mute()

func (*NoopLogger) RegisterBuildArtifacts

func (n *NoopLogger) RegisterBuildArtifacts(_ []graph.Artifact)

func (*NoopLogger) SetSince

func (n *NoopLogger) SetSince(time.Time)

func (*NoopLogger) StartLogger

func (n *NoopLogger) StartLogger(context.Context, io.Writer, []string) error

func (*NoopLogger) StopLogger

func (n *NoopLogger) StopLogger()

func (*NoopLogger) Unmute

func (n *NoopLogger) Unmute()

Jump to

Keyboard shortcuts

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