improve log

This commit is contained in:
vms 2020-11-09 03:26:23 +03:00
parent 552d4b7141
commit 10a24629c9
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -161,7 +161,7 @@ checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
[[package]]
name = "wasmer-interface-types-fl"
version = "0.17.17"
version = "0.17.18"
dependencies = [
"log",
"nom",

View File

@ -1,6 +1,6 @@
[package]
name = "wasmer-interface-types-fl"
version = "0.17.17"
version = "0.17.18"
description = "WebAssembly Interface Types library for Wasmer"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]

View File

@ -31,7 +31,7 @@ executable_instruction!(
super::check_function_signature(&**instance, local_or_import, &inputs, instruction.clone())?;
log::trace!("call-core: calling {} with arguments: {:?}", local_or_import.name(), inputs);
log::info!("call-core: calling {} with arguments: {:?}", local_or_import.name(), inputs);
let outputs = local_or_import.call(&inputs).map_err(|_| {
InstructionError::new(
@ -42,7 +42,7 @@ executable_instruction!(
)
})?;
log::trace!("call-core: call to {} succeeded with result {:?}", function_index, outputs);
log::info!("call-core: call to {} succeeded with result {:?}", local_or_import.name(), outputs);
for output in outputs.into_iter() {
runtime.stack.push(output)