Documentation ¶
Index ¶
- Variables
- func CallerEncoder(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)
- func DPanic(name string, fields ...zapcore.Field)
- func Debug(name string, fields ...zapcore.Field)
- func Error(name string, fields ...zapcore.Field)
- func Fatal(name string, fields ...zapcore.Field)
- func Info(name string, fields ...zapcore.Field)
- func Init()
- func Panic(name string, fields ...zapcore.Field)
- func Warn(name string, fields ...zapcore.Field)
Constants ¶
This section is empty.
Variables ¶
View Source
var OutputFile bool
OutputFile .
Functions ¶
func CallerEncoder ¶
func CallerEncoder(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)
CallerEncoder 爲 caller 增加 函數名稱 默認只有檔案名行號
filename:lineNum:funcName
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.