Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrefixLogger ¶
type PrefixLogger interface { LogDebug(args ...interface{}) LogDebugf(format string, args ...interface{}) LogInfo(args ...interface{}) LogInfof(format string, args ...interface{}) LogWarn(args ...interface{}) LogWarnf(format string, args ...interface{}) LogError(args ...interface{}) LogErrorf(format string, args ...interface{}) LogFatal(args ...interface{}) LogFatalf(format string, args ...interface{}) }
带前缀名的 Logger 接口
type StdLogger ¶
type StdLogger interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) }
标准的 Logger 接口
Click to show internal directories.
Click to hide internal directories.