Source: https://docs.arbitrum.io/stylus-by-example/basic_examples/events
Request:
The doc on logging says that:
Using the evm::log
function in the Stylus SDK is the preferred way to log events.
However, the SDK returns a deprecation notice for that method and notifies users they should use stylus_sdk::core::log
as seen in this code example:
stylus_sdk::stylus_core::log(
self.vm(),
EtherReceived {
sender,
amount,
method: "fallback".to_string(),
},
);
I believe the Logging docs need to get updated accordingly.