升级log_level处理

This commit is contained in:
2024-06-24 17:54:31 +08:00
parent 16d33f84ca
commit 408f33b21e
3 changed files with 38 additions and 37 deletions

View File

@ -50,7 +50,7 @@ func DealLogPathError(err error, logPath string) error {
// Author : go_developer@163.com<白茶清欢>
//
// Date : 4:50 下午 2021/1/2
func LogSplitTypeError(splitType TimeIntervalType) error {
func LogSplitTypeError(splitType string) error {
return errors.Wrapf(errors.New("日志切割时间类型错误"), "日志切割时间类型错误, 传入类型 : %v", splitType)
}