Bump copyright date to 2019
[tor.git] / src / rust / tor_log / lib.rs
blob4aa658e35b115827616d050382fd164613f399bd
1 //! Copyright (c) 2016-2019, The Tor Project, Inc. */
2 //! See LICENSE for licensing information */
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.
11 extern crate libc;
12 extern crate tor_allocate;
14 mod tor_log;
16 pub use tor_log::*;