Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorLevel = iota + zapcore.FatalLevel + 1 RequestLevel LogPathFormat = "%Y-%m-%d" )
Variables ¶
View Source
var ( Cfg *config.Config Log *logger.Sugar Service service.Service LogCfgs = []*logger.Config{ { Name: "error", Level: ErrorLevel, Format: LogPathFormat, }, { Name: "request", Level: RequestLevel, Format: LogPathFormat, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.