import java.util.UUID;\r
import java.util.concurrent.atomic.AtomicBoolean;\r
\r
-import org.simantics.Logger;\r
import org.simantics.Simantics;\r
import org.simantics.databoard.Bindings;\r
import org.simantics.databoard.util.URIStringUtils;\r
import org.simantics.operation.Layer0X;\r
import org.simantics.scl.runtime.function.FunctionImpl2;\r
import org.simantics.utils.datastructures.Pair;\r
+import org.slf4j.Logger;\r
+import org.slf4j.LoggerFactory;\r
\r
/**\r
* @author Tuukka Lehtonen\r
*/\r
public class IssueUtils {\r
+ private static final Logger LOGGER = LoggerFactory.getLogger(IssueUtils.class);\r
\r
public static Resource toSeverityResource(IssueResource ISSUE, Severity severity) {\r
switch (severity) {\r
});\r
}\r
} catch (DatabaseException e) {\r
- Logger.defaultLogError(e);\r
+ LOGGER.error("Updating issue source failed.", e);\r
}\r
} else {\r
Session session = Simantics.getSession();\r
\r
@Override\r
public void exception(ReadGraph graph, Throwable throwable) throws DatabaseException {\r
- Logger.defaultLogError(throwable);\r
+ LOGGER.error("IssueValidityListener received an exception.", throwable);\r
}\r
\r
}\r
\r
@Override\r
public void exception(ReadGraph graph, Throwable t) {\r
- Logger.defaultLogError(t);\r
+ LOGGER.error("IssueSourceManagedIssuesListener received an exception.", t);\r
}\r
\r
@Override\r
\r
@Override\r
public void exception(ReadGraph graph, Throwable t) {\r
- Logger.defaultLogError(t);\r
+ LOGGER.error("ActiveIssueSourceListener received an exception.", t);\r
}\r
\r
@Override\r