Log
Last updated
Last updated
Transform incoming Message with configured JavaScript function to String and log final value into the log file.
INFO log level is used for logging.
JavaScript function receive 3 input parameters
metadata
- is a Message metadata.
msg
- is a Message payload.
msgType
- is a Message type.
Script should return String value.