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§
Sourcefn managed_write_log(
&self,
topics_handle: Self::ManagedBufferHandle,
data_handle: Self::ManagedBufferHandle,
)
fn managed_write_log( &self, topics_handle: Self::ManagedBufferHandle, data_handle: Self::ManagedBufferHandle, )
Saves an event log.