@@ -81,17 +81,22 @@ public final class LogUtils {
8181 private static int sFileFilter = V ; // log 文件过滤器
8282 private static int sStackDeep = 1 ; // log 栈深度
8383
84- private static final String FILE_SEP = System .getProperty ("file.separator" );
85- private static final String LINE_SEP = System .getProperty ("line.separator" );
86- private static final String TOP_BORDER = "╔═══════════════════════════════════════════════════════════════════════════════════════════════════" ;
87- private static final String SPLIT_BORDER = "╟───────────────────────────────────────────────────────────────────────────────────────────────────" ;
88- private static final String LEFT_BORDER = "║ " ;
89- private static final String BOTTOM_BORDER = "╚═══════════════════════════════════════════════════════════════════════════════════════════════════" ;
90- private static final int MAX_LEN = 4000 ;
91- private static final Format FORMAT = new SimpleDateFormat ("MM-dd HH:mm:ss.SSS " , Locale .getDefault ());
92- private static final String NULL = "null" ;
93- private static final String ARGS = "args" ;
94- private static final Config CONFIG = new Config ();
84+ private static final String FILE_SEP = System .getProperty ("file.separator" );
85+ private static final String LINE_SEP = System .getProperty ("line.separator" );
86+ private static final String TOP_CORNER = "┌" ;
87+ private static final String MIDDLE_CORNER = "├" ;
88+ private static final String LEFT_BORDER = "│ " ;
89+ private static final String BOTTOM_CORNER = "└" ;
90+ private static final String SIDE_DIVIDER = "────────────────────────────────────────────────────────" ;
91+ private static final String MIDDLE_DIVIDER = "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄" ;
92+ private static final String TOP_BORDER = TOP_CORNER + SIDE_DIVIDER + SIDE_DIVIDER ;
93+ private static final String MIDDLE_BORDER = MIDDLE_CORNER + MIDDLE_DIVIDER + MIDDLE_DIVIDER ;
94+ private static final String BOTTOM_BORDER = BOTTOM_CORNER + SIDE_DIVIDER + SIDE_DIVIDER ;
95+ private static final int MAX_LEN = 4000 ;
96+ private static final Format FORMAT = new SimpleDateFormat ("MM-dd HH:mm:ss.SSS " , Locale .getDefault ());
97+ private static final String NULL = "null" ;
98+ private static final String ARGS = "args" ;
99+ private static final Config CONFIG = new Config ();
95100
96101 private LogUtils () {
97102 throw new UnsupportedOperationException ("u can't instantiate me..." );
@@ -344,7 +349,7 @@ private static void printHead(final int type, final String tag, final String[] h
344349 for (String aHead : head ) {
345350 Log .println (type , tag , sLogBorderSwitch ? LEFT_BORDER + aHead : aHead );
346351 }
347- if (sLogBorderSwitch ) Log .println (type , tag , SPLIT_BORDER );
352+ if (sLogBorderSwitch ) Log .println (type , tag , MIDDLE_BORDER );
348353 }
349354 }
350355
0 commit comments