Use logger instead of System.out; Fixes gh-1005
This commit is contained in:
@@ -927,7 +927,11 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user