Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ZapLogger *zap.Logger
Functions ¶
func InitLogger ¶
func InitLogger(_logTypes []string, _logPath string, _logEnv LogEnvType, _saveDays int)
init log
Types ¶
type LogEnvType ¶
type LogEnvType string
const ( LogEnv_debug LogEnvType = "debug" LogEnv_release LogEnvType = "release" )
Click to show internal directories.
Click to hide internal directories.