diff --git a/Cargo.toml b/Cargo.toml index b7e5bcd3..aee4d15b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1.0" time = { version = "0.3", features = ["serde", "serde-well-known", "serde-human-readable", "macros"] } svgbobdoc = { version = "0.3.0", features = ["enable"] } -log = "0.4.17" +tracing = "0.1" pyo3-log = "0.8.0" indicatif = "0.17.2" highs-sys = { git = "https://github.com/jetuk/highs-sys", branch="fix-build-libz-linking", optional = true } diff --git a/src/model.rs b/src/model.rs index 5253c475..8e74754c 100644 --- a/src/model.rs +++ b/src/model.rs @@ -11,7 +11,7 @@ use crate::timestep::{Timestep, Timestepper}; use crate::virtual_storage::{VirtualStorage, VirtualStorageIndex, VirtualStorageReset, VirtualStorageVec}; use crate::{parameters, recorders, IndexParameterIndex, NodeIndex, ParameterIndex, PywrError, RecorderIndex}; use indicatif::ProgressIterator; -use log::{debug, info}; +use tracing::{debug, info}; use rayon::prelude::*; use std::any::Any; use std::ops::Deref; diff --git a/src/schema/data_tables/mod.rs b/src/schema/data_tables/mod.rs index c8598912..d7603941 100644 --- a/src/schema/data_tables/mod.rs +++ b/src/schema/data_tables/mod.rs @@ -1,5 +1,5 @@ use crate::schema::parameters::TableIndex; -use log::{debug, info}; +use tracing::{debug, info}; use pywr_schema::parameters::TableDataRef as TableDataRefV1; use std::collections::HashMap; use std::fs::File;