Log
Summary
Simplifies logging of events.
When an event is received, a log entry is produced. The contents of the entry can be configured in Settings -> Parameters. By default, the received event is logged in it's entirety.
For example, logging an HTTP request for debugging purposes.
Ports
Each event directed to the in
port trigger a log entry to be made.
Input/Output Format
The received event may take any shape. However, the variable interpolation used in Settings -> Parameters may make assumptions about the shape of the event.
Events
The function does not listen for nor emit any events.
Other
All log entries are made at INFO
level.
Examples
As seen in the summary, the logged message can be entirely interpolated.
It can also be constant:
Or a mix of both:
See us use the Lolo/Log Library Function here: https://www.youtube.com/watch?v=U99TOqIRIb8
Updated about 2 years ago