summaryrefslogtreecommitdiff
path: root/src/util/mod.rs
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-06-22 19:56:40 +0300
committerA Farzat <a@farzat.xyz>2026-06-22 19:56:40 +0300
commit1293ea92bdbf3eb2086ec117e355714b6ee54ae9 (patch)
tree9de76726abd8c4de07904c7ed0284599211a53db /src/util/mod.rs
parent711df9de70e8a61a441b7ba7200ae006258ce978 (diff)
downloadrepo2markdown-1293ea92bdbf3eb2086ec117e355714b6ee54ae9.tar.gz
repo2markdown-1293ea92bdbf3eb2086ec117e355714b6ee54ae9.zip
Make Logger's output destination customizableHEADmaster
This aids in testing and might allow logging to a file at a later point.
Diffstat (limited to 'src/util/mod.rs')
-rw-r--r--src/util/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs
index eda8605..d038ae8 100644
--- a/src/util/mod.rs
+++ b/src/util/mod.rs
@@ -2,3 +2,6 @@ pub mod fence;
pub mod language;
pub mod path_display;
pub mod path_list;
+
+#[cfg(test)]
+pub(crate) mod test_support;