cloudflare / boringtun

Userspace WireGuard® Implementation in Rust
BSD 3-Clause "New" or "Revised" License
5.93k stars 397 forks source link

Adds set_logging_function to ffi-bindings #305

Closed csabol closed 1 year ago

csabol commented 1 year ago

set_logging_function sets the default subscriber for tracing to a provided function pointer that can forward logs to C executables.

Noah-Kennedy commented 1 year ago

Good work! I left some feedback, but its almost there!