Documentation
¶
Overview ¶
Package logger 封装traceId的log打印 Created by chenguolin 2018-11-17
Index ¶
- func Debug(tc *trace.Context, msg string, fields ...zap.Field)
- func Error(tc *trace.Context, msg string, fields ...zap.Field)
- func Fatal(tc *trace.Context, msg string, fields ...zap.Field)
- func Info(tc *trace.Context, msg string, fields ...zap.Field)
- func NewLog(dir, name, timePattern string) (*log.Logger, error)
- func Panic(tc *trace.Context, msg string, fields ...zap.Field)
- func Warn(tc *trace.Context, msg string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.