From 3ff7fec59481cda6d01e57bdd341c9a0efbcc2a0 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Fri, 15 Nov 2024 20:16:44 -0700 Subject: change rule logging --- src/makefile/input.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/makefile/input.rs b/src/makefile/input.rs index dd772cb..2879b63 100644 --- a/src/makefile/input.rs +++ b/src/makefile/input.rs @@ -693,6 +693,10 @@ impl<'a, 'parent, R: BufRead> MakefileReader<'a, 'parent, R> { } } } else { + log::debug!( + "pattern-based inference rule defined: {:?}", + &new_rule, + ); self.inference_rules.put(new_rule); } return Ok(()); @@ -731,7 +735,7 @@ impl<'a, 'parent, R: BufRead> MakefileReader<'a, 'parent, R> { commands, MacroSet::new(), ); - log::trace!( + log::debug!( "suffix-based inference rule defined by {:?} - {:?}", &inference_match, &new_rule, @@ -739,7 +743,7 @@ impl<'a, 'parent, R: BufRead> MakefileReader<'a, 'parent, R> { self.inference_rules.put(new_rule); } else { - log::trace!( + log::debug!( "{}:{}: new target {:?} based on {:?}", &self.file_name, line_number, -- cgit v1.2.3