pub fn log_and_double(msg: String, value: i32) -> i32
Logs a message in Rust and returns the input value doubled. Used by the TS FFI bridge (logAndDouble).
logAndDouble