Logger
Overview
Logger allows creating ACE developer defined log messages that are useful for debugging the flows.
Configuration
Log message
- the message to be loggedlog level
- the log level to usecontext
key
- key for the context itemsource path
- path indoc
from which to take the valuevalue
- static value to use
Example
Sample Logger Flow
tags:
- example
steps:
- stepType: log
config:
level: info
context:
- key: Message
sourcePath: message
message: "Log input "
name: Logger
description: ""
condition: ""
sampleData:
message: this should be logged
Result
{
"doc": {
"message": "this should be logged"
},
"errors": [],
"performance": {
"steps": [
{
"step": "log",
"executionTime": 1
}
],
"executionTimeOfFlow": 1,
"timeMetric": "ms"
}
}
Logs will have a log with "message":"Log input " and {"Message": "this should be logged"} with level info.