mirror of
https://github.com/OMGeeky/google_bigquery_v2.git
synced 2026-01-03 18:25:02 +01:00
remove tracing feature and just use tracing
it provides log with the needed stuff anyway
This commit is contained in:
@@ -5,6 +5,5 @@ pub mod utils;
|
||||
|
||||
pub mod re_exports {
|
||||
pub use async_trait;
|
||||
pub use log;
|
||||
pub use serde_json;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user