From d7a90398b55ed9ebdc7cd73441dea802e8f9fbf0 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期二, 07 六月 2022 09:53:56 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/LogUtils.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/LogUtils.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/LogUtils.java new file mode 100644 index 0000000..bfd6dbc --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/LogUtils.java @@ -0,0 +1,15 @@ +package com.panzhihua.common.utlis; + +/** + * 处理并记录日志文件 + * + * @author huanghongfa + */ +public class LogUtils { + public static String getBlock(Object msg) { + if (msg == null) { + msg = ""; + } + return "[" + msg.toString() + "]"; + } +} -- Gitblit v1.7.1