Skip to content

Latest commit

 

History

History

log

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
title weight
Log
4615

Log

This activity allows you to write log messages.

Installation

Flogo Web

This activity comes out of the box with the Flogo Web UI

Flogo CLI

flogo add activity github.com/TIBCOSoftware/flogo-contrib/activity/log

Schema

Inputs and Outputs:

{
  "input":[
    {
      "name": "message",
      "type": "string",
      "value": ""
    },
    {
      "name": "flowInfo",
      "type": "boolean",
      "value": "false"
    },
    {
      "name": "addToFlow",
      "type": "boolean",
      "value": "false"
    }
  ],
  "output": [
    {
      "name": "message",
      "type": "string"
    }
  ]
}

Settings

Setting Required Description
message False The message to log
flowInfo False If set to true this will append the flow information to the log message
addToFlow False If set to true this will add the log message to the 'message' output of the activity and make it available in further activities
message False The message that was logged

Examples

The below example logs a message 'test message':

{
  "id": "log_3",
  "name": "Log Message",
  "description": "Simple Log Activity",
  "activity": {
    "ref": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
    "input": {
      "message": "test message",
      "flowInfo": "false",
      "addToFlow": "true"
    }
  }
}