summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/napi/env.rs4
-rw-r--r--cli/napi/js_native_api.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/cli/napi/env.rs b/cli/napi/env.rs
index df9af522f..0adb0481e 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 a4726fd39..1c3b02fa9 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::<napi_value, v8::Local<v8::Value>>(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(())
}