Ignore:
Timestamp:
08/27/12 15:53:25 (12 years ago)
Author:
sherbold
Message:
  • all usages of the Console tracing API now define log levels
Location:
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCLogParser.java

    r616 r639  
    1717import java.util.List; 
    1818import java.util.Map; 
     19import java.util.logging.Level; 
    1920import java.util.regex.Matcher; 
    2021import java.util.regex.Pattern; 
     
    311312        } 
    312313        if (qName.equals("newsession")) { 
    313             Console.traceln("start of session"); 
     314            Console.traceln(Level.FINE, "start of session"); 
    314315            if (currentSequence != null && !currentSequence.isEmpty()) { 
    315316                // create a copy of the list just to have a correctly typed one. 
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDparseDirJFC.java

    r573 r639  
    66import java.util.Collection; 
    77import java.util.List; 
     8import java.util.logging.Level; 
    89 
    910import de.ugoe.cs.quest.CommandHelpers; 
     
    5758        for (String filename : folder.list()) { 
    5859            String source = absolutPath + "/" + filename; 
    59             Console.traceln("Processing file: " + source); 
     60            Console.traceln(Level.INFO, "Processing file: " + source); 
    6061 
    6162            parser.parseFile(source); 
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDpreprocessDirJFC.java

    r573 r639  
    1111import java.security.InvalidParameterException; 
    1212import java.util.List; 
     13import java.util.logging.Level; 
    1314 
    1415import de.ugoe.cs.util.console.Command; 
     
    5758                for (String filename : sourceFolder.list()) { 
    5859                        String source = absolutPathSource + "/" + filename; 
    59                         Console.traceln("Preprocessing file: " + source); 
     60                        Console.traceln(Level.INFO, "Preprocessing file: " + source); 
    6061                        File file = new File(source); 
    6162                        InputStreamReader reader; 
     
    8586                                        + filename.substring(0, index) + ".xml"; 
    8687 
    87                         Console.traceln("   Saving as: " + target); 
     88                        Console.traceln(Level.INFO, "   Saving as: " + target); 
    8889 
    8990                        OutputStreamWriter writer; 
Note: See TracChangeset for help on using the changeset viewer.