From 1047a06a64be862acc0de8aabab4c11996099824 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 26 Jun 2019 19:59:07 +0200 Subject: [PATCH] Add trace output Signed-off-by: Matthias Beyer --- lib/entry/libimagentrytag/src/tag.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/entry/libimagentrytag/src/tag.rs b/lib/entry/libimagentrytag/src/tag.rs index 24555c5b..227bc546 100644 --- a/lib/entry/libimagentrytag/src/tag.rs +++ b/lib/entry/libimagentrytag/src/tag.rs @@ -31,6 +31,7 @@ pub fn is_tag(s: String) -> Result<(), String> { pub fn is_tag_str(s: &String) -> Result<(), String> { use filters::filter::Filter; + trace!("Checking whether '{}' is a valid tag", s); let is_lower = |s: &String| s.chars().all(|c| c.is_lowercase()); let no_whitespace = |s: &String| s.chars().all(|c| !c.is_whitespace());