#23881: Implement a way to utilise tor's logging system from Rust code ------------------------------+-------------------------------- Reporter: isis | Owner: (none) Type: enhancement | Status: new Priority: High | Milestone: Tor: 0.3.3.x-final Component: Core Tor/Tor | Version: Severity: Normal | Keywords: rust, rust-pilot Actual Points: | Parent ID: Points: 3 | Reviewer: Sponsor: | ------------------------------+-------------------------------- We really need a way to use tor's logging subsystem from Rust code. I haven't ever really looked at our logging code because it always Just Works™, but it seems possible that we could construct/format `String`s to log in Rust code, choose a logging level, and throw the `String` across the FFI boundary, have the C code log it, then have the Rust code free it?
I'm not sure what we'll do about logging in general moving forward, once (and if) more and more of tor is rewritten in Rust. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23881> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs