Merge pull request #963 from iromu/main

Replaced System.out call with logger.debug. Fixes gh-962
This commit is contained in:
Oleg Zhurakousky
2022-11-29 20:42:24 +01:00
committed by GitHub

View File

@@ -873,7 +873,11 @@ public class SimpleFunctionRegistry implements FunctionRegistry {
if (inputValue instanceof Message && !this.isInputTypeMessage()) {
inputValue = ((Message) inputValue).getPayload();
}
System.out.println("Invoking function: " + this + "with input type: " + this.getInputType());
if (logger.isDebugEnabled()) {
logger.debug("Invoking function: " + this + "with input type: " + this.getInputType());
}
Object result = ((Function) this.target).apply(inputValue);
if (result instanceof Publisher && functionInvocationHelper != null) {