pub fn wasm_bindgen_start() -> Result<(), JsValue> {
    // Initialize debugging for when/if something goes wrong.
    console_error_panic_hook::set_once();
    // priority order: error!, warn!, info!, debug! and trace!
    wasm_logger::init(wasm_logger::Config::new(Level::Trace));
    // write the app version just for debug purposes
    log::info!("{} v{}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));

    routing_local_hash_mod::router_boilerplate();

    // return
    Ok(())
}
/// To start the Wasm application, wasm_bindgen runs this function
To start the Wasm application, wasm_bindgen runs this function
To start the Wasm application wasm_bindgen runs this function
pub fn wasm_bindgen_start() -> Result<(), JsValue> {
    // Initialize debugging for when/if something goes wrong.
    console_error_panic_hook::set_once();
    // priority order: error!, warn!, info!, debug! and trace!
    wasm_logger::init(wasm_logger::Config::new(Level::Trace));
    // write the app version just for debug purposes
    log::info!("{} v{}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
    routing_local_hash_mod::router_boilerplate();
    // return
    Ok(())
}
pub fn wasm_bindgen_start ( ) -> Result < ( ) , JsValue > { // Initialize debugging for when/if something goes wrong. console_error_panic_hook :: set_once ( ) ; // priority order: error!, warn!, info!, debug! and trace! wasm_logger :: init ( wasm_logger :: Config :: new ( Level :: Trace ) ) ; // write the app version just for debug purposes log :: info ! ( " " env ( " " ) env ( " " ) ) ; routing_local_hash_mod :: router_boilerplate ( ) ; // return Ok ( ( ) ) }
To start the Wasm application, wasm_bindgen runs this function
To start the Wasm application wasm_bindgen runs this function