Documentation ¶
Overview ¶
Package logger provides console output for libhkbuildpack operations.
Index ¶
- type Identifiable
- type Log
- func (l Log) Debug(format string, args ...interface{})
- func (l Log) Error(format string, args ...interface{})
- func (l Log) FirstLine(format string, args ...interface{})
- func (l Log) Info(format string, args ...interface{})
- func (l Log) IsDebugEnabled() bool
- func (l Log) PrettyIdentity(v Identifiable) string
- func (l Log) SubsequentLine(format string, args ...interface{})
- func (l Log) Warning(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifiable ¶
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 Log ¶ added in v0.0.2
Log supports logging related methods and state
func NewFromWriters ¶ added in v0.0.2
func (Log) Error ¶ added in v0.0.2
Error prints an error message to the console if an info logger is provided.
func (Log) IsDebugEnabled ¶ added in v0.0.2
func (Log) PrettyIdentity ¶ added in v0.0.2
func (l Log) PrettyIdentity(v Identifiable) string
func (Log) SubsequentLine ¶ added in v0.0.2
SubsequentLine prints indented output without the leading arrow.
Click to show internal directories.
Click to hide internal directories.