Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogfLogger ¶
type LogfLogger interface {
Logf(string, ...interface{})
}
type Logger ¶
type Logger interface { PrintfLogger Infof(string, ...interface{}) Warnf(string, ...interface{}) Errorf(string, ...interface{}) }
func NewLoggerForTest ¶
type PrintfLogger ¶
type PrintfLogger interface {
Printf(string, ...interface{})
}
func NewPrintfLoggerFromLogfLogger ¶
func NewPrintfLoggerFromLogfLogger(logger LogfLogger) PrintfLogger
type PrintfLoggerFromLogfLogger ¶
type PrintfLoggerFromLogfLogger struct {
Log LogfLogger
}
func (*PrintfLoggerFromLogfLogger) Printf ¶
func (l *PrintfLoggerFromLogfLogger) Printf(fmt string, args ...interface{})
type StdLogger ¶
type StdLogger struct {
Log PrintfLogger
}
Click to show internal directories.
Click to hide internal directories.