Logging, debugging, testing
Logging
For a comprehensive guide to logging from all component types, see the Logging page.
In summary:
obelisk:loginterface (preferred): Structured string-based logging with log levels (trace,debug,info,warn,error). Available to activities, workflows, and webhook endpoints.stdout/stderrforwarding: Byte-stream output fromprintln!and similar. Available to activities and webhook endpoints only. Controlled byforward_stdoutandforward_stderrin the configuration.
Debugging and Testing
Unit and integration testing is possible with Cargo's test harness.
The stargazers demo repository contains unit and integration tests for activities.