Convex function logging
Automatic Function Logging
- Log function arguments and return values automatically
- No manual console.log statements required in code
- Especially helpful for functions with multiple return points
Dashboard Controls
- Toggle logging on/off through the Convex dashboard
- Control logging at environment level (dev, staging, prod)
- Enable temporary debugging in non-development environments
Benefits
- Troubleshooting issues in production or staging environments
- Avoid cluttering code with temporary logging statements
- Needing to understand data flow without modifying code
- Quickly enabling/disabling logging as needed (default to off)
