Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Discard = Func(func(format string, v ...interface{}) {})
View Source
var Std = Func(log.Printf)
Functions ¶
This section is empty.
Types ¶
type TestLogger ¶
type TestLogger struct {
// contains filtered or unexported fields
}
func NewTest ¶
func NewTest() *TestLogger
func (*TestLogger) Logs ¶
func (l *TestLogger) Logs() string
func (*TestLogger) Output ¶
func (l *TestLogger) Output(b bool)
func (*TestLogger) Printf ¶
func (l *TestLogger) Printf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.