mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 19:41:27 +00:00
19 lines
340 B
Rust
19 lines
340 B
Rust
|
// Copyright © 2022 Intel Corporation
|
||
|
//
|
||
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
//
|
||
|
|
||
|
#[cfg(feature = "tracing")]
|
||
|
#[macro_use]
|
||
|
extern crate log;
|
||
|
|
||
|
#[cfg(not(feature = "tracing"))]
|
||
|
mod tracer_noop;
|
||
|
#[cfg(not(feature = "tracing"))]
|
||
|
pub use tracer_noop::*;
|
||
|
|
||
|
#[cfg(feature = "tracing")]
|
||
|
mod tracer;
|
||
|
#[cfg(feature = "tracing")]
|
||
|
pub use tracer::*;
|