logger

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 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) Error added in v1.43.0

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

Error prints the log message with the error eye catcher.

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

PrettyIdentity formats a standard pretty identity of a type.

func (Logger) SubsequentLine

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

SubsequentLine prints log message with the subsequent line indent.

func (Logger) Warning added in v1.43.0

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

Warning prints the log message with the warning eye catcher.

Jump to

Keyboard shortcuts

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