Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatLogger ¶
type FormatLogger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) Panicf(format string, args ...interface{}) }
FormatLogger 携带format的日志打印
type Logger ¶
type Logger interface { StandardLogger FormatLogger Named(name string) Logger With(key string, value interface{}) Logger }
Click to show internal directories.
Click to hide internal directories.