mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-01 07:24:19 +01:00
Remove log and env_logger in favor of tracing
- Deleted `log` and `env_logger` from simulator dependencies - Migrated remaining `log::error!` and `log::trace!` calls to `tracing` macros
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -2351,13 +2351,11 @@ dependencies = [
|
||||
"clap",
|
||||
"dirs 6.0.0",
|
||||
"either",
|
||||
"env_logger 0.11.7",
|
||||
"garde",
|
||||
"hex",
|
||||
"indexmap 2.11.1",
|
||||
"itertools 0.14.0",
|
||||
"json5",
|
||||
"log",
|
||||
"notify",
|
||||
"parking_lot",
|
||||
"rand 0.9.2",
|
||||
|
||||
@@ -18,8 +18,6 @@ path = "main.rs"
|
||||
turso_core = { workspace = true, features = ["simulator"]}
|
||||
rand = { workspace = true }
|
||||
rand_chacha = { workspace = true }
|
||||
log = "0.4.20"
|
||||
env_logger = { workspace = true }
|
||||
regex = { workspace = true }
|
||||
regex-syntax = { workspace = true, default-features = false, features = [
|
||||
"unicode",
|
||||
|
||||
@@ -21,6 +21,7 @@ use sql_generation::{
|
||||
table::SimValue,
|
||||
},
|
||||
};
|
||||
use tracing::error;
|
||||
use turso_core::{Connection, Result, StepResult};
|
||||
|
||||
use crate::{
|
||||
@@ -121,7 +122,7 @@ impl InteractionPlan {
|
||||
let _ = plan[j].split_off(k);
|
||||
break;
|
||||
}
|
||||
log::error!("Comparing '{}' with '{}'", interactions[i], plan[j][k]);
|
||||
error!("Comparing '{}' with '{}'", interactions[i], plan[j][k]);
|
||||
if interactions[i].contains(plan[j][k].to_string().as_str()) {
|
||||
i += 1;
|
||||
k += 1;
|
||||
|
||||
Reference in New Issue
Block a user