Changeset 828
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCLogParser.java
r788 r828 572 572 else 573 573 { 574 Console. printerrln("log file has an error, as it contains a key up event on key " +574 Console.traceln(Level.SEVERE, "log file has an error, as it contains a key up event on key " + 575 575 key + " for which there is no preceeding key down event"); 576 576 } -
trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/SWTConsole.java
r674 r828 38 38 @Override 39 39 public void errorMsg(String errMessage) { 40 appendColored( errMessage, SWT.COLOR_RED);40 appendColored("[ERROR] " + errMessage, SWT.COLOR_RED); 41 41 } 42 42 … … 44 44 public void traceMsg(String traceMessage, Level level) { 45 45 if( level.intValue()>=traceLevel.intValue()) { 46 appendColored("[" + level.toString() + "] " + traceMessage, SWT.COLOR_BLUE); 46 int color = SWT.COLOR_BLUE; 47 if( level==Level.SEVERE ) { 48 color = SWT.COLOR_RED; 49 } 50 appendColored("[" + level.toString() + "] " + traceMessage, color); 47 51 } 48 52 }
Note: See TracChangeset
for help on using the changeset viewer.