void (@NotNull Logger logger, @NotNull Element element) { if (logger.isDebugEnabled()) { // alternatively //new XMLOutputter(Format.getPrettyFormat()).outputString(root) logger.debug("\n" + JDOMUtil.createOutputter("\n").outputString(element)); } }