From b41952025b89ec7da1bf2a4a9d0396f19dc3a50b Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 26 Oct 2012 12:50:21 +0000 Subject: [PATCH] SDK: - 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 --- .../src/com/jme3/gde/ogretools/convert/OutputReader.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/convert/OutputReader.java b/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/convert/OutputReader.java index 3e1d4fd67..ae3f398c9 100644 --- a/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/convert/OutputReader.java +++ b/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); } } }