package
Version:
v0.0.0-...-e5dec72
Opens a new window with list of versions in this module.
Published: Jun 29, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
LevelDebug = "debug"
LevelInfo = "info"
LevelWarn = "warn"
LevelError = "error"
LevelFatal = "fatal"
)
NewZapLogger 日志配置文件
如果需要配置 options, 请使用 logger.WithOptions() 方法进行配置
zap.AddCaller()
zap.AddCallerSkip(2)
添加额外的配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.