Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Debugf(string, ...interface{}) Errorf(string, ...interface{}) Info(...interface{}) Infof(string, ...interface{}) Warning(...interface{}) Warningf(string, ...interface{}) }
Interface defines the API for the logger package
type NullLogger ¶
type NullLogger struct{}
NullLogger is a logger that does nothing
func (*NullLogger) Debugf ¶
func (l *NullLogger) Debugf(string, ...interface{})
Debugf is a no-op for the null logger
func (*NullLogger) Errorf ¶
func (l *NullLogger) Errorf(string, ...interface{})
Errorf is a no-op for the null logger
func (*NullLogger) Info ¶
func (l *NullLogger) Info(...interface{})
Info is a no-op for the null logger
func (*NullLogger) Infof ¶
func (l *NullLogger) Infof(string, ...interface{})
Infof is a no-op for the null logger
func (*NullLogger) Warning ¶
func (l *NullLogger) Warning(...interface{})
Warning is a no-op for the null logger
func (*NullLogger) Warningf ¶
func (l *NullLogger) Warningf(string, ...interface{})
Warningf is a no-op for the null logger
Click to show internal directories.
Click to hide internal directories.