mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user