]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/GraphLabelerFactory.java
Replace System.err and System.out with SLF4J Logging
[simantics/platform.git] / bundles / org.simantics.browsing.ui.graph.impl / src / org / simantics / browsing / ui / graph / impl / GraphLabelerFactory.java
index 0671286e7a28632ff4bd514ed4e6a1e364e0e66f..4ed616fd9f70720238cda2874ac5f609093a4286 100644 (file)
@@ -24,6 +24,8 @@ import org.simantics.browsing.ui.content.Labeler.Modifier;
 import org.simantics.db.ReadGraph;
 import org.simantics.db.Resource;
 import org.simantics.db.exception.DatabaseException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public abstract class GraphLabelerFactory implements LabelerFactory {
 
@@ -53,6 +55,11 @@ public abstract class GraphLabelerFactory implements LabelerFactory {
             public Modifier getModifier(ModificationContext modificationContext, String key) {
                return GraphLabelerFactory.this.getModifier(key);
             }
+
+            @Override
+            public Logger getLogger() {
+                return LoggerFactory.getLogger(GraphLabelerFactory.class);
+            }
             
         };
     }