Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevelInfo = "info" LogLevelDebug = "debug" LogLevelWarn = "warn" LogLevelError = "error" )
Variables ¶
View Source
var (
Sugar *zap.SugaredLogger
)
Functions ¶
func InitFileLog ¶
func InitFileLog(logPath ...string)
func SetLogLevel ¶
func SetLogLevel(logLevel string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.