multiversx_sc::api

Trait LogApiImpl

Source
pub trait LogApiImpl: HandleTypeInfo {
    // Required method
    fn managed_write_log(
        &self,
        topics_handle: Self::ManagedBufferHandle,
        data_handle: Self::ManagedBufferHandle,
    );
}
Expand description

Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.

Required Methods§

Source

fn managed_write_log( &self, topics_handle: Self::ManagedBufferHandle, data_handle: Self::ManagedBufferHandle, )

Saves an event log.

Implementors§