From edc6a23e278a269009c345171cfd19aad8c49aa2 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Wed, 4 Sep 2024 15:53:01 +1000 Subject: [PATCH] chore: Copy the in-mem logging functions to the FFI crate --- rust/pact_ffi/src/log/inmem_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/pact_ffi/src/log/inmem_buffer.rs b/rust/pact_ffi/src/log/inmem_buffer.rs index bbf97871..45f61374 100644 --- a/rust/pact_ffi/src/log/inmem_buffer.rs +++ b/rust/pact_ffi/src/log/inmem_buffer.rs @@ -18,7 +18,7 @@ pub(crate) struct InMemBuffer { } impl Write for InMemBuffer { fn write(&mut self, buf: &[u8]) -> io::Result { - write_to_log_buffer(buf); + pact_matching::logging::write_to_log_buffer(buf); Ok(buf.len()) }