Logging from deployed smart contract

Can I log from a deployed smart contract? Is there an example somewhere?

Yes, for example see https://github.com/Concordium/concordium-rust-smart-contracts/blob/main/examples/cis2-wccd/src/lib.rs#L529

This would show up in the transaction status as an emitted event, e.g. Concordium Dashboard

1 Like