diff options
author | Melody Horn <melody@boringcactus.com> | 2024-11-15 20:16:44 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2024-11-15 20:16:44 -0700 |
commit | 3ff7fec59481cda6d01e57bdd341c9a0efbcc2a0 (patch) | |
tree | a96c68de20b1d804a2d7b7b2fe55c1b546658a04 | |
parent | b038e98d34a8473eb78697a4d20314c39d1c87db (diff) | |
download | makers-3ff7fec59481cda6d01e57bdd341c9a0efbcc2a0.tar.gz makers-3ff7fec59481cda6d01e57bdd341c9a0efbcc2a0.zip |
change rule logging
-rw-r--r-- | src/makefile/input.rs | 8 |
1 files changed, 6 insertions, 2 deletions
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, |