1 //! Copyright (c) 2016-2019, The Tor Project, Inc. */
2 //! See LICENSE for licensing information */
3 
4 //! Logging wrapper for Rust to utilize Tor's logger, found at
5 //! src/common/log.c and src/common/torlog.h
6 //!
7 //! Exposes different interfaces depending on whether we are running in test
8 //! or non-test mode. When testing, we use a no-op implementation,
9 //! otherwise we link directly to C.
10 
11 extern crate libc;
12 extern crate tor_allocate;
13 
14 mod tor_log;
15 
16 pub use tor_log::*;
17