Documentation
¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func DebugF(format string, args ...interface{})
- func Error(msg string, fields ...zap.Field)
- func ErrorF(format string, args ...interface{})
- func Info(msg string, fields ...zap.Field)
- func InfoF(format string, args ...interface{})
- func InitGlobalLogger(config *config.LogConfig)
- func Warn(msg string, fields ...zap.Field)
- func WarnF(format string, args ...interface{})
- type Logger
- func (l *Logger) Debug(msg string, fields ...zap.Field)
- func (l *Logger) DebugF(format string, args ...interface{})
- func (l *Logger) Error(msg string, fields ...zap.Field)
- func (l *Logger) ErrorF(format string, args ...interface{})
- func (l *Logger) Info(msg string, fields ...zap.Field)
- func (l *Logger) InfoF(format string, args ...interface{})
- func (l *Logger) Warn(msg string, fields ...zap.Field)
- func (l *Logger) WarnF(format string, args ...interface{})
- func (l *Logger) WithContext(ctx context.Context) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGlobalLogger ¶
InitGlobalLogger 初始化全局Logger实例
Types ¶
Click to show internal directories.
Click to hide internal directories.