How can I configure PocketIC to capture and display the logs (e.g., println!
, ic_cdk::println!
, or log!
statements) from a function when it executes within a test case? I want to ensure that when a function runs in PocketIC, its logs appear in the test output, helping to debug or showcase rollbacks testing effectively.
For clarification: Pocket IC is running fine with other stuff so there is nothing basic to be included.
Are there any dependencies, configurations, or Cargo.toml additions required to achieve this?