Ignore:
Timestamp:
08/27/12 15:17:00 (12 years ago)
Author:
sherbold
Message:
  • updated tracing API of the Console. It now supports different trace levels, based on java.util.logger.Level
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/SWTConsole.java

    r570 r633  
    11 
    22package de.ugoe.cs.quest.ui.swt; 
     3 
     4import java.util.logging.Level; 
    35 
    46import org.eclipse.swt.SWT; 
     
    3840 
    3941    @Override 
    40     public void traceMsg(String traceMessage) { 
    41         appendColored(traceMessage, SWT.COLOR_BLUE); 
     42    public void traceMsg(String traceMessage, Level level) { 
     43        appendColored("[" + level.toString() + "] " + traceMessage, SWT.COLOR_BLUE); 
    4244    } 
    4345 
Note: See TracChangeset for help on using the changeset viewer.