consts/logger.go

28 lines
425 B
Go

// Package consts ...
//
// Description : consts ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2024-06-24 15:46
package consts
const (
LogLevelDebug = "DEBUG"
LogLevelInfo = "INFO"
LogLevelWarn = "WARN"
LogLevelError = "ERROR"
LogLevelPanic = "PANIC"
)
const (
LogSplitHour = "HOUR"
LogLevelDay = "Day"
LogLevelMonth = "MONTH"
LogLevelYear = "YEAR"
)
const (
LogPathDefault = "logs"
)