summaryrefslogtreecommitdiff
path: root/src/bin/cli/mod.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-14 10:44:32 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-14 11:16:18 +0300
commit1a9fefcb34ff850ab6732feb8496893a47a5a6b2 (patch)
tree5b58d94ddd7ab488cba4c0283c2b083b1ef6bb12 /src/bin/cli/mod.rs
parent5e2ef34059fc424e650977a8e15deef00182e01e (diff)
downloadsubplot-1a9fefcb34ff850ab6732feb8496893a47a5a6b2.tar.gz
debug: add tracing calls to help debug
I needed these to figure out a problem that wasn't in Subplot itself. I'd like to keep them for the future. Sponsored-by: author
Diffstat (limited to 'src/bin/cli/mod.rs')
-rw-r--r--src/bin/cli/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/cli/mod.rs b/src/bin/cli/mod.rs
index 5da5bf9..30f5601 100644
--- a/src/bin/cli/mod.rs
+++ b/src/bin/cli/mod.rs
@@ -28,6 +28,7 @@ where
style
);
let doc = Document::from_file(&base_path, filename, style)?;
+ event!(Level::TRACE, "Loaded doc from file OK");
Ok(doc)
}