Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func GetEncoder() zapcore.Encoder
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func InitLogger(path string, level string)
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- type UidLog
- func (t UidLog) Debug(args ...interface{})
- func (t UidLog) Debugf(template string, args ...interface{})
- func (t UidLog) Error(args ...interface{})
- func (t UidLog) Errorf(template string, args ...interface{})
- func (t UidLog) Fatal(args ...interface{})
- func (t UidLog) Fatalf(template string, args ...interface{})
- func (t UidLog) GetUUID() string
- func (t UidLog) Info(args ...interface{})
- func (t UidLog) Infof(template string, args ...interface{})
- func (t UidLog) Printf(template string, args ...interface{})
- func (t UidLog) Warn(args ...interface{})
- func (t UidLog) Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(template string, args ...interface{})
Debugf uses fmt.Sprintf to log a templated message.
func Errorf ¶
func Errorf(template string, args ...interface{})
Errorf uses fmt.Sprintf to log a templated message.
func Fatal ¶
func Fatal(args ...interface{})
Fatal uses fmt.Sprint to construct and log a message, then calls os.Exit.
func Fatalf ¶
func Fatalf(template string, args ...interface{})
Fatalf uses fmt.Sprintf to log a templated message, then calls os.Exit.
func GetEncoder ¶
func Infof ¶
func Infof(template string, args ...interface{})
Infof uses fmt.Sprintf to log a templated message.
Types ¶
type UidLog ¶
type UidLog struct {
// contains filtered or unexported fields
}
func (UidLog) Error ¶
func (t UidLog) Error(args ...interface{})
Error uses fmt.Sprint to construct and log a message.
func (UidLog) Fatal ¶
func (t UidLog) Fatal(args ...interface{})
Fatal uses fmt.Sprint to construct and log a message, then calls os.Exit.
func (UidLog) Info ¶
func (t UidLog) Info(args ...interface{})
Info uses fmt.Sprint to construct and log a message.
Click to show internal directories.
Click to hide internal directories.