Documentation
¶
Overview ¶
Package log is a global internal logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Init(opts ...Option) error Info(v ...interface{}) Infof(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) Fatal(v ...interface{}) Fatalf(format string, v ...interface{}) String() string }
Logger logger interface
var DefaultLogger Logger
DefaultLogger default logger
Click to show internal directories.
Click to hide internal directories.