diff --git a/engine/src/main/java/org/terasology/engine/rendering/dag/RenderTaskListGenerator.java b/engine/src/main/java/org/terasology/engine/rendering/dag/RenderTaskListGenerator.java index d00ad950fde..afc39ed47cd 100644 --- a/engine/src/main/java/org/terasology/engine/rendering/dag/RenderTaskListGenerator.java +++ b/engine/src/main/java/org/terasology/engine/rendering/dag/RenderTaskListGenerator.java @@ -42,21 +42,22 @@ public RenderTaskListGenerator() { taskList = Lists.newArrayList(); } + @SuppressWarnings("PMD.GuardLogStatement") private void logIntermediateRendererListForDebugging(List orderedNodes) { for (Node node : orderedNodes) { if (node.isEnabled()) { // printing out node name - logger.atInfo().addArgument(() -> node.getClass().getSimpleName()).log("----- {}"); + logger.info("----- {}", node.getClass().getSimpleName()); // printing out individual desired state changes for (StateChange desiredStateChange : node.getDesiredStateChanges()) { - logger.atInfo().addArgument(desiredStateChange).log("{}"); + logger.info("{}", desiredStateChange); } // printing out process() statement - logger.atInfo().addArgument(node).log("{}: process()"); + logger.info("{}: process()", node); } } }