logger

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifiable added in v1.17.0

type Identifiable interface {
	// Identity is the method that returns the required name and optional description that make up identity.
	Identity() (name string, description string)
}

Identifiable is an interface that indicates that a type has an identity.

type Logger

type Logger struct {
	logger.Logger
}

Logger is an extension to libbuildpack.Logger to add additional functionality.

func (Logger) FirstLine

func (l Logger) FirstLine(format string, args ...interface{})

FirstLine prints the log messages with the first line eye catcher.

func (Logger) PrettyIdentity added in v1.17.0

func (l Logger) PrettyIdentity(v Identifiable) string

PrettyVersion formats a standard pretty version of a dependency.

func (Logger) String

func (l Logger) String() string

String makes Logger satisfy the Stringer interface.

func (Logger) SubsequentLine

func (l Logger) SubsequentLine(format string, args ...interface{})

SubsequentLine prints log message with the subsequent line indent.

Jump to

Keyboard shortcuts

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