This activity allows you to write log messages.
flogo install github.com/project-flogo/contrib/activity/log
Name | Type | Description |
---|---|---|
message | string | The message to log |
addDetails | bool | Append contextual execution information to the log message |
usePrint | bool | Use Print to stdout instead of the built-in Logger. The built-in logger may not be compatible with some cloud environments. |
The below example logs a message 'test message':
{
"id": "log_message",
"name": "Log Message",
"activity": {
"ref": "github.com/project-flogo/contrib/activity/log",
"input": {
"message": "test message",
"addDetails": "false"
}
}
}