remove tracing feature and just use tracing

it provides log with the needed stuff anyway
This commit is contained in:
OMGeeky
2023-07-14 16:12:10 +02:00
parent 9176ac9095
commit f410491e04
4 changed files with 3 additions and 12 deletions

View File

@@ -5,6 +5,5 @@ pub mod utils;
pub mod re_exports {
pub use async_trait;
pub use log;
pub use serde_json;
}

View File

@@ -5,9 +5,4 @@ pub use crate::data::{BigQueryTable, BigQueryTableBase, OrderDirection};
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;
#[cfg(not(feature = "tracing"))]
pub use log::{debug, error, info, trace, warn};
#[cfg(feature = "tracing")]
pub use tracing::{debug, error, info, trace, warn};
pub use log::LevelFilter;