Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigEnv = "GVA_CONFIG" ConfigDefaultFile = "config.yaml" ConfigTestFile = "config.test.yaml" ConfigDebugFile = "config.debug.yaml" ConfigReleaseFile = "config.release.yaml" )
Variables ¶
View Source
var FileRotatelogs = new(fileRotatelogs)
View Source
var Zap = new(_zap)
Functions ¶
This section is empty.
Types ¶
type Cutter ¶
type Cutter struct { Director string // 日志文件夹 // contains filtered or unexported fields }
func NewCutter ¶
func NewCutter(director string, level string, options ...CutterOption) *Cutter
Source Files
¶
- constant.go
- cutter.go
- file_rotatelogs.go
- zap.go
Click to show internal directories.
Click to hide internal directories.