Ticket #1001160: Add time stamps to the logs for all levels from Warning through to All
This commit is contained in:
parent
57b1bc9877
commit
4ef48f3ae3
|
@ -93,12 +93,14 @@ public class CLogFormatter extends Formatter
|
|||
/** Time/Error */
|
||||
if (record.getLevel() == Level.SEVERE)
|
||||
{ // 12:12:12.123
|
||||
sb.append(tsStr.substring(11, 23));
|
||||
sb.append("===========> ");
|
||||
if (Ini.isClient())
|
||||
Toolkit.getDefaultToolkit().beep();
|
||||
}
|
||||
else if (record.getLevel() == Level.WARNING)
|
||||
{ // 12:12:12.123
|
||||
sb.append(tsStr.substring(11, 23));
|
||||
sb.append("-----------> ");
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue