Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetErrorLogger ¶ added in v0.0.29
func SetErrorLogger(logger Logger)
Types ¶
type DefaultLogger ¶ added in v0.0.29
type DefaultLogger struct{}
func (*DefaultLogger) Printf ¶ added in v0.0.29
func (d *DefaultLogger) Printf(msg string, args ...interface{})
type Logger ¶ added in v0.0.29
type Logger interface {
Printf(string, ...interface{})
}
var ( Log Logger = &DefaultLogger{} ErrorLog Logger = &DefaultLogger{} )
Click to show internal directories.
Click to hide internal directories.