Skip to main content

Log Component

Write out a log message

Component key: log

Description

The log component allows you to write log messages, which is useful for debugging purposes.

You can elect to log debug, info, warn, or error messages.

Actions

Write Log Message

Write a log message | key: writeLog

InputDefaultNotesExample
Log Level
text
/ Required
level
info
The log level to use for this log line. Options are: debug, info, warn, or error
warn
Log Message
text
/ Required
message
The message to log
There was an error in this integration

Write Metric(s)

Write metric(s) to an external log provider | key: writeMetric

InputNotes
Metrics
string
Key Value List
metrics