multiversx_sc/api/
log_api.rsuse super::HandleTypeInfo;
pub trait LogApi: HandleTypeInfo {
type LogApiImpl: LogApiImpl
+ HandleTypeInfo<
ManagedBufferHandle = Self::ManagedBufferHandle,
BigIntHandle = Self::BigIntHandle,
BigFloatHandle = Self::BigFloatHandle,
EllipticCurveHandle = Self::EllipticCurveHandle,
>;
fn log_api_impl() -> Self::LogApiImpl;
}
pub trait LogApiImpl: HandleTypeInfo {
fn managed_write_log(
&self,
topics_handle: Self::ManagedBufferHandle,
data_handle: Self::ManagedBufferHandle,
);
}