Mercurial > projects > dwt2
diff org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/Activator.d @ 85:6be48cf9f95c
Work on databinding
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Apr 2009 13:54:50 +0200 |
parents | 0a55d2d5a946 |
children |
line wrap: on
line diff
--- a/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/Activator.d Sat Apr 18 09:25:29 2009 +0200 +++ b/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/Activator.d Sat Apr 18 13:54:50 2009 +0200 @@ -44,7 +44,7 @@ } public void start(BundleContext context) { - _frameworkLogTracker = new ServiceTracker(context, FrameworkLog.classinfo.getName(), null); + _frameworkLogTracker = new ServiceTracker(context, FrameworkLog.classinfo.name, null); _frameworkLogTracker.open(); Policy.setLog(new class() ILogger { @@ -56,9 +56,9 @@ log.log(createLogEntry(status)); } else { // fall back to System.err - System.err.println(status.getPlugin() + " - " + status.getCode() + " - " + status.getMessage()); //$NON-NLS-1$//$NON-NLS-2$ + getDwtLogger().error(__FILE__, __LINE__, "{} - {} - {}", status.getPlugin(), status.getCode(), status.getMessage()); //$NON-NLS-1$//$NON-NLS-2$ if( status.getException() !is null ) { - status.getException().printStackTrace(System.err); + ExceptionPrintStackTrace(status.getException()); } } }