增加redis客户端链接 / 日志初始化

This commit is contained in:
zhangdeman committed 2022-06-15 21:28:03 +08:00
1 parent 9d2f6b8a67
commit bcecf65832
3 files changed
+72 -52

No files matched your search

+9
View File
@@ -86,3 +86,12 @@ func CfgFilePathError() error {
func CfgFileFormatErr(realFormat string) error {
return errors.Errorf("非法的配置文件格式 : %s , 当前仅支持 yaml / yml / json", realFormat)
}
// InitLoggerErr 初始化日志失败
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 21:12 2022/6/15
func InitLoggerErr(flag string, err error) error {
return errors.Wrapf(err, "%s 配置日志初始化失败", flag)
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.