Disable tracing by default

This commit is contained in:
Pekka Enberg 2023-09-01 19:49:18 +03:00
parent 4b714311b5
commit 591e8df377
6 changed files with 126 additions and 27 deletions

View file

@ -18,5 +18,6 @@ path = "main.rs"
anyhow = "1.0.75"
clap = { version = "4.4.0", features = ["derive"] }
dirs = "5.0.1"
env_logger = "0.10.0"
lig_core = { path = "../core" }
rustyline = "12.0.0"

View file

@ -16,6 +16,7 @@ struct Opts {
}
fn main() -> anyhow::Result<()> {
env_logger::init();
let opts = Opts::parse();
let io = IO::new();
let db = Database::open(Arc::new(io), opts.database.to_str().unwrap())?;