Integrate new logger (#963)

This commit is contained in:
folex 2020-10-26 13:15:55 +03:00 committed by GitHub
parent 83c3a172e8
commit ca76c10659

View File

@ -59,9 +59,9 @@ export async function instantiateStepper(pid: PeerId): Promise<Stepper> {
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 {
let str = getStringFromWasm0(wasm, arg0, arg1)
let str = getStringFromWasm0(wasm, offset, size)
log.debug(str)
} finally {
}