These calls are then translated by the host code in https://github.com/proxy-wasm/proxy-wasm-cpp-host into calls on the Envoy::Extensions::Common::Wasm::Context object which is in the envoy (envoy-wasm repo) source at source/extensions/common/context.{h,cc}.
The easiest way would be to trace the
Envoy::Extensions::Common::Wasm::Context calls, but they are not 1:1 with the ABI. You could also add wrappers to the ABI calls in proxy_wasm_api.hi and just call log() in the VM. There are other alternatives, but they would require changes across multiple repos.