Documentation
¶
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() (*log.Logger, error)
- func NewLog2File(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 ¶
func NewLog2File ¶ added in v1.0.8
NewLog2File new log logger write 2 file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.