Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatLogger ¶ added in v1.0.34
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.