multiversx_sc/api/uncallable/
log_api_uncallable.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use crate::api::{LogApi, LogApiImpl};

use super::UncallableApi;

impl LogApi for UncallableApi {
    type LogApiImpl = UncallableApi;

    fn log_api_impl() -> Self::LogApiImpl {
        unreachable!()
    }
}

impl LogApiImpl for UncallableApi {
    fn managed_write_log(
        &self,
        _topics_handle: Self::ManagedBufferHandle,
        _data_handle: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }
}