Documentation ¶
Index ¶
- Variables
- func Error(err error) zap.Field
- func Float64(k string, v float64) zap.Field
- func InitArchiveZapLogger(logFile string) *zap.Logger
- func InitLogger()
- func Int(k string, v int) zap.Field
- func Int64(k string, v int64) zap.Field
- func JsonObj(k string, v interface{}) zap.Field
- func String(k, v string) zap.Field
- func StringList(k string, v []string) zap.Field
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logger *zap.Logger AccessLogger *zap.Logger )
Functions ¶
func InitArchiveZapLogger ¶
func InitLogger ¶
func InitLogger()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.