diff --git a/cli/napi/env.rs b/cli/napi/env.rs index df9af522fe..0adb0481ea 100644 --- a/cli/napi/env.rs +++ b/cli/napi/env.rs @@ -59,7 +59,7 @@ fn napi_add_env_cleanup_hook( _hook: extern "C" fn(*const c_void), _data: *const c_void, ) -> Result { - eprintln!("napi_add_env_cleanup_hook is currently not supported"); + log::info!("napi_add_env_cleanup_hook is currently not supported"); Ok(()) } @@ -69,7 +69,7 @@ fn napi_remove_env_cleanup_hook( _hook: extern "C" fn(*const c_void), _data: *const c_void, ) -> Result { - eprintln!("napi_remove_env_cleanup_hook is currently not supported"); + log::info!("napi_remove_env_cleanup_hook is currently not supported"); Ok(()) } diff --git a/cli/napi/js_native_api.rs b/cli/napi/js_native_api.rs index a4726fd39a..1c3b02fa91 100644 --- a/cli/napi/js_native_api.rs +++ b/cli/napi/js_native_api.rs @@ -737,7 +737,7 @@ fn napi_make_callback( } if !async_context.is_null() { - eprintln!("napi_make_callback: async_context is not supported"); + log::info!("napi_make_callback: async_context is not supported"); } let recv = transmute::>(recv); @@ -1006,7 +1006,7 @@ fn napi_add_finalizer( _finalize_hint: *const c_void, _result: *mut napi_ref, ) -> Result { - eprintln!("napi_add_finalizer is not yet supported."); + log::info!("napi_add_finalizer is not yet supported."); Ok(()) }