mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-04-25 17:52:13 +00:00
Integrate new logger (#963)
This commit is contained in:
parent
83c3a172e8
commit
ca76c10659
@ -59,9 +59,9 @@ export async function instantiateStepper(pid: PeerId): Promise<Stepper> {
|
|||||||
getInt32Memory0(wasm)[arg0 / 4 + 0] = ptr0;
|
getInt32Memory0(wasm)[arg0 / 4 + 0] = ptr0;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"host": { log_utf8_string: (arg0: any, arg1: any) => {
|
"host": { log_utf8_string: (level: any, target: any, offset: any, size: any) => {
|
||||||
try {
|
try {
|
||||||
let str = getStringFromWasm0(wasm, arg0, arg1)
|
let str = getStringFromWasm0(wasm, offset, size)
|
||||||
log.debug(str)
|
log.debug(str)
|
||||||
} finally {
|
} finally {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user