Log Element
Element for outputting debug messages
Log Element
The <log>
element outputs messages for debugging and tracing:
Prop | Type | Default |
---|---|---|
id? | string | - |
label? | string | - |
expr | Expression | - |
Examples
Basic Logging
State Debugging
Error Logging
Usage Notes
- Use descriptive labels for better log organization
- Include relevant context in log messages
- Consider log levels for different types of information
- Use structured logging for complex data