Documentation
¶
Overview ¶
Package log contains the log node implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogNode ¶
LogNode passes the payload through; its configured message is emitted into the workflow event log by the host (debug panel equivalent)
func NewLogNode ¶
func NewLogNode(node nodestore.NodeInterface, config *LogConfig) *LogNode
NewLogNode creates a new log node
func (*LogNode) Execute ¶
func (n *LogNode) Execute(ctx context.Context, input nodestore.MessageInterface) (nodestore.MessageInterface, error)
Execute passes the input payload through unchanged
func (*LogNode) PostRunEvents ¶
func (n *LogNode) PostRunEvents(node nodestore.NodeInterface, out nodestore.MessageInterface) []nodebase.RunEvent
PostRunEvents implements RunEventer: the log node emits its configured message (at the configured level) into the workflow event log so it shows up in the debug panel.