Kagome
Polkadot Runtime Engine in C++17
kagome::host_api::IOExtension Class Reference

#include <io_extension.hpp>

Collaboration diagram for kagome::host_api::IOExtension:

Public Member Functions

 IOExtension (std::shared_ptr< const runtime::MemoryProvider > memory_provider)
 
void ext_logging_log_version_1 (runtime::WasmEnum level, runtime::WasmSpan target, runtime::WasmSpan message)
 
runtime::WasmEnum ext_logging_max_level_version_1 ()
 

Private Attributes

std::shared_ptr< const runtime::MemoryProvidermemory_provider_
 
log::Logger logger_
 

Detailed Description

Implements extension functions related to IO

Definition at line 23 of file io_extension.hpp.

Constructor & Destructor Documentation

kagome::host_api::IOExtension::IOExtension ( std::shared_ptr< const runtime::MemoryProvider memory_provider)
explicit

Definition at line 15 of file io_extension.cpp.

Member Function Documentation

void kagome::host_api::IOExtension::ext_logging_log_version_1 ( runtime::WasmEnum  level,
runtime::WasmSpan  target,
runtime::WasmSpan  message 
)
See also
Extension::ext_logging_log_version_1

Definition at line 22 of file io_extension.cpp.

runtime::WasmEnum kagome::host_api::IOExtension::ext_logging_max_level_version_1 ( )
See also
Extension::ext_logging_max_level_version_1

Definition at line 61 of file io_extension.cpp.

Member Data Documentation

log::Logger kagome::host_api::IOExtension::logger_
private

Definition at line 42 of file io_extension.hpp.

std::shared_ptr<const runtime::MemoryProvider> kagome::host_api::IOExtension::memory_provider_
private

Definition at line 41 of file io_extension.hpp.


The documentation for this class was generated from the following files: