提交 | 用户 | 时间 | ||
0ca254 | 1 | package com.jcdm.common.utils; |
A | 2 | |
3 | /** | |
4 | * 处理并记录日志文件 | |
5 | * | |
6 | * @author jc | |
7 | */ | |
8 | public class LogUtils | |
9 | { | |
10 | public static String getBlock(Object msg) | |
11 | { | |
12 | if (msg == null) | |
13 | { | |
14 | msg = ""; | |
15 | } | |
16 | return "[" + msg.toString() + "]"; | |
17 | } | |
18 | } |