]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/internal/Activator.java
Revert "Prime SCL BindingRegistry to shave ~0.5s from startup"
[simantics/platform.git] / bundles / org.simantics.scl.reflection / src / org / simantics / scl / reflection / internal / Activator.java
index 8bfea3dbea9fb3291b4716b408a5f0921375d590..4e1d01816381d3ca486bae5b558f07f9af5cb7b2 100644 (file)
@@ -6,9 +6,12 @@ import org.eclipse.core.runtime.Status;
 import org.osgi.framework.Bundle;
 import org.osgi.framework.BundleActivator;
 import org.osgi.framework.BundleContext;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class Activator implements BundleActivator {
 
+    private static final Logger LOGGER = LoggerFactory.getLogger(Activator.class);
     private BundleContext context;  
     
     private static Activator instance;
@@ -34,7 +37,7 @@ public class Activator implements BundleActivator {
     }
         
     public static void logError(String description, Exception e) {
-        System.err.println(description);
+        LOGGER.error(description);
         if(e != null)
             e.printStackTrace();
         Bundle bundle = getInstance().getContext().getBundle();