Documentation ¶
Index ¶
- func GetDebugTag() bool
- func PanicToError()
- type Fields
- type Logger
- func (l Logger) Debug(args ...interface{})
- func (l Logger) Debugf(format string, args ...interface{})
- func (l Logger) Error(args ...interface{})
- func (l Logger) Errorf(format string, args ...interface{})
- func (l Logger) Fatalf(format string, args ...interface{})
- func (l Logger) Info(args ...interface{})
- func (l Logger) Infof(format string, args ...interface{})
- func (l Logger) Panic(args ...interface{})
- func (l Logger) Panicf(format string, args ...interface{})
- func (l Logger) Warn(args ...interface{})
- func (l Logger) Warnf(format string, args ...interface{})
- func (l Logger) WithField(key string, value interface{}) *Logger
- func (l Logger) WithFields(fields Fields) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger 日志句柄
func NewPlayerLogger ¶
NewPlayerLogger 创建玩家日志句柄
Click to show internal directories.
Click to hide internal directories.