- make OgreXML command line tool OutputReader use logger instead of system.out

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9899 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 24712d4170
commit b41952025b
  1. 4
      sdk/jme3-ogretools/src/com/jme3/gde/ogretools/convert/OutputReader.java

@ -7,6 +7,8 @@ package com.jme3.gde.ogretools.convert;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.netbeans.api.progress.ProgressHandle;
/**
@ -40,7 +42,7 @@ public class OutputReader implements Runnable {
if (progress != null) {
progress.progress(line);
} else {
System.out.println(line);
Logger.getLogger(OutputReader.class.getName()).log(Level.INFO, "{0}",line);
}
}
}

Loading…
Cancel
Save