Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
Impl LoggerImpl
}
A Logger can be used to log debug messages.
func (Logger) Log ¶
func (l Logger) Log(v ...interface{})
Log logs a message with fmt.Sprint. This is a nop if Impl is nil.
type LoggerImpl ¶
type LoggerImpl interface {
Helper()
Write(string)
}
LoggerImpl implements the necessary methods to log messages.
Click to show internal directories.
Click to hide internal directories.