]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/PropertyValueRepresentationLabelerFactory.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 / PropertyValueRepresentationLabelerFactory.java
index 2b63c1a4f4de372e586ced9ba047ee88a532acda..bb24e710ccdc0b478b0600392bfee56854e04133 100644 (file)
@@ -29,6 +29,8 @@ import org.simantics.db.Resource;
 import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.management.ISessionContext;
 import org.simantics.utils.datastructures.ArrayMap;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Requires {@link IProperty} as input.
@@ -77,6 +79,12 @@ public class PropertyValueRepresentationLabelerFactory implements LabelerFactory
                 }
                 return null;
             }
+            
+            @Override
+            public Logger getLogger() {
+                return LoggerFactory.getLogger(getClass());
+            }
+
         };
     }