Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyLogger ¶ added in v1.0.0
type DummyLogger struct{}
DummyLogger does not ouput anything
func (*DummyLogger) Errorf ¶ added in v1.0.0
func (*DummyLogger) Errorf(serivce, format string, v ...interface{})
Errorf does nothing.
func (*DummyLogger) Infof ¶ added in v1.0.0
func (*DummyLogger) Infof(service, format string, v ...interface{})
Infof does nothing.
type Logger ¶
type Logger interface { Infof(service, format string, v ...interface{}) Errorf(service, format string, v ...interface{}) }
Logger is logging interface.
var DefaultLogger Logger
DefaultLogger is default Logger.
Click to show internal directories.
Click to hide internal directories.