xref: /cloud-hypervisor/tracer/src/lib.rs (revision eea9bcea38e0c5649f444c829f3a4f9c22aa486c)
1 // Copyright © 2022 Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 
6 #[cfg(feature = "tracing")]
7 #[macro_use]
8 extern crate log;
9 
10 #[cfg(not(feature = "tracing"))]
11 mod tracer_noop;
12 #[cfg(not(feature = "tracing"))]
13 pub use tracer_noop::*;
14 
15 #[cfg(feature = "tracing")]
16 mod tracer;
17 #[cfg(feature = "tracing")]
18 pub use tracer::*;
19