Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndiciesOfChar ¶
Types ¶
type Logger ¶
type Logger interface { Infof(format string, args ...interface{}) Debugf(format string, args ...interface{}) }
Basic logging interface
type NoOpLogger ¶
type NoOpLogger struct { }
NoOpLogger matches the Logger interface and does nothing if no logging is desired
func (NoOpLogger) Debugf ¶
func (NoOpLogger) Debugf(format string, args ...interface{})
func (NoOpLogger) Infof ¶
func (NoOpLogger) Infof(format string, args ...interface{})
type TestLogger ¶
TestLogger is to be used with the *testing.T.Log function for logging in test
func (TestLogger) Debugf ¶
func (logger TestLogger) Debugf(format string, args ...interface{})
func (TestLogger) Infof ¶
func (logger TestLogger) Infof(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.