Mercurial > projects > dwt2
diff org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/ThreadJob.d @ 18:735224fcc45f
redirected all printings to DwtLogger
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 09:57:53 +0100 |
parents | 6f068362a363 |
children | 52184e4b815c |
line wrap: on
line diff
--- a/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/ThreadJob.d Wed Mar 18 09:09:23 2009 +0100 +++ b/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/ThreadJob.d Wed Mar 18 09:57:53 2009 +0100 @@ -14,7 +14,6 @@ import java.lang.all; import java.util.Set; -import tango.io.Stdout; import java.lang.JThread; import tango.core.sync.Mutex; import tango.core.sync.Condition; @@ -118,7 +117,7 @@ buf.append(". See log for trace information if rule tracing is enabled."); //$NON-NLS-1$ String msg = buf.toString(); if (JobManager.DEBUG || JobManager.DEBUG_BEGIN_END) { - Stdout.formatln("{}",msg); + getDwtLogger.info( __FILE__, __LINE__, "{}",msg); Exception t = lastPush is null ? cast(Exception)new IllegalArgumentException("") : cast(Exception)lastPush; IStatus error = new Status(IStatus.ERROR, JobManager.PI_JOBS, 1, msg, t); RuntimeLog.log(error); @@ -137,7 +136,7 @@ buf.append(Format("{}",baseRule)); String msg = buf.toString(); if (JobManager.DEBUG) { - Stdout.formatln("{}",msg); + getDwtLogger.info( __FILE__, __LINE__, "{}",msg); IStatus error = new Status(IStatus.ERROR, JobManager.PI_JOBS, 1, msg, new IllegalArgumentException("")); RuntimeLog.log(error); }