Skip to content

Latest commit

 

History

History
 
 

log

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Log

This activity allows you to write log messages.

Installation

Flogo CLI

flogo install github.com/project-flogo/contrib/activity/log

Configuration

Input:

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.

Examples

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"
    }
  }
}