Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
Printer
}
A Logger writes output to standard error.
func New ¶
func New() *Logger
New returns a new Logger backed by the standard library's log package.
func (*Logger) PrintProvide ¶
func (l *Logger) PrintProvide(t interface{})
PrintProvide logs a type provided into the dig.Container.
func (*Logger) PrintSignal ¶
PrintSignal logs an os.Signal.
Click to show internal directories.
Click to hide internal directories.