Documentation ¶
Index ¶
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Log(args ...interface{})
- func Logf(format string, args ...interface{})
- func SetLogger(l Logger)
- func Skip(args ...interface{})
- func Skipf(format string, args ...interface{})
- type DefaultLogger
- func (dl DefaultLogger) Error(args ...interface{})
- func (dl DefaultLogger) Errorf(format string, args ...interface{})
- func (dl DefaultLogger) Fatal(args ...interface{})
- func (dl DefaultLogger) Fatalf(format string, args ...interface{})
- func (dl DefaultLogger) Log(args ...interface{})
- func (dl DefaultLogger) Logf(format string, args ...interface{})
- func (dl DefaultLogger) Skip(args ...interface{})
- func (dl DefaultLogger) Skipf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultLogger ¶
type DefaultLogger struct{}
Compatibility type to forward messages to Go's log package
func (DefaultLogger) Error ¶
func (dl DefaultLogger) Error(args ...interface{})
func (DefaultLogger) Errorf ¶
func (dl DefaultLogger) Errorf(format string, args ...interface{})
func (DefaultLogger) Fatal ¶
func (dl DefaultLogger) Fatal(args ...interface{})
func (DefaultLogger) Fatalf ¶
func (dl DefaultLogger) Fatalf(format string, args ...interface{})
func (DefaultLogger) Log ¶
func (dl DefaultLogger) Log(args ...interface{})
func (DefaultLogger) Logf ¶
func (dl DefaultLogger) Logf(format string, args ...interface{})
func (DefaultLogger) Skip ¶
func (dl DefaultLogger) Skip(args ...interface{})
func (DefaultLogger) Skipf ¶
func (dl DefaultLogger) Skipf(format string, args ...interface{})
type Logger ¶
type Logger interface { Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Log(args ...interface{}) Logf(format string, args ...interface{}) Skip(args ...interface{}) Skipf(format string, args ...interface{}) }
Logger mimics golang's testing logging functionality as an interface.
Click to show internal directories.
Click to hide internal directories.