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()) }