Documentation ¶
Index ¶
Constants ¶
View Source
const (
RequestIdKey = "request_id"
)
Variables ¶
View Source
var ( Logger *zap.Logger Sugar *zap.SugaredLogger )
Functions ¶
func InitLogger ¶
InitLogger init Logger and Sugar applicationName directory: log directory level: log level (debug/info/warn/error/panic/fatal) format: log format (console/json)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.