ATS-675/ATS-695 Add logger method,

This will be code repeated in the local transform method and the processTransform method
This commit is contained in:
David Edwards
2020-04-02 16:30:33 +01:00
parent 88b099d6c9
commit f117391028

View File

@@ -81,4 +81,12 @@ public class AIOController extends AbstractTransformerController
}; };
} }
private void debugLogTransform(String sourceMimetype, Map<String, String> transformOptions) {
if (logger.isDebugEnabled())
{
logger.debug(
"Processing request with: targetExtension '{}', transformOptions '{}'",
sourceMimetype, transformOptions);
}
}
} }