1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//! Defines WasmEdge LogManager struct
use wasmedge_sys as sys;
/// Manipulates the runtime logger.
#[derive(Debug)]
pub struct LogManager {}
impl LogManager {
/// Logs the debug information.
pub fn log_debug_info() {
sys::utils::log_debug_info()
}
/// Logs the error information.
pub fn log_error_info() {
sys::utils::log_error_info()
}
/// Sets the logging system off.
pub fn log_off() {
sys::utils::log_off()
}
}