Remove debug/check print statements.

cusax-fix
Werner Dittmann 16 years ago
parent caf11ee51b
commit 9b01f15d4d

@ -17,10 +17,6 @@ public class Logger
{
private final java.util.logging.Logger loggerDelegate;
static private long trc = 0;
static private long dbg = 0;
static private long inf = 0;
/**
* Base constructor
*
@ -119,7 +115,6 @@ public boolean isTraceEnabled()
*/
public void trace(Object msg)
{
if ((++trc % 10) == 0) System.out.println("Trace: " + trc);
loggerDelegate.finer(msg!=null?msg.toString():"null");
}
@ -131,7 +126,6 @@ public void trace(Object msg)
*/
public void trace(Object msg, Throwable t)
{
if ((++trc % 10) == 0) System.out.println("Trace: " + trc);
loggerDelegate.log(Level.FINER, msg!=null?msg.toString():"null", t);
}
@ -157,7 +151,6 @@ public boolean isDebugEnabled()
*/
public void debug(Object msg)
{
if ((++dbg % 10) == 0) System.out.println("Debug: " + dbg);
loggerDelegate.fine(msg!=null?msg.toString():"null");
}
@ -169,7 +162,6 @@ public void debug(Object msg)
*/
public void debug(Object msg, Throwable t)
{
if ((++dbg % 10) == 0) System.out.println("Debug: " + dbg);
loggerDelegate.log(Level.FINE, msg!=null?msg.toString():"null", t);
}
@ -195,7 +187,6 @@ public boolean isInfoEnabled()
*/
public void info(Object msg)
{
if ((++inf % 10) == 0) System.out.println("Info: " + inf);
loggerDelegate.info(msg!=null?msg.toString():"null");
}
@ -207,7 +198,6 @@ public void info(Object msg)
*/
public void info(Object msg, Throwable t)
{
if ((++inf % 10) == 0) System.out.println("Info: " + inf);
loggerDelegate.log(Level.INFO, msg!=null?msg.toString():"null", t);
}

Loading…
Cancel
Save