diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-24T08·53+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-24T08·53+0000 |
commit | 1a7468a57a11288a007c40d50ed28718d757a546 (patch) | |
tree | 175c3f3819298006548f4f7d00f4c98ce8135c6b /src/normalise.cc | |
parent | b75719b98457c61857689ab135559a17034dd8ec (diff) |
* Debug levels. Use `--verbose / -v LEVEL' to display only messages
up to the given verbosity levels. These currently are: lvlError = 0, lvlNormal = 5, lvlDebug = 10, lvlDebugMore = 15 although only lvlError and lvlDebug are actually used right now.
Diffstat (limited to 'src/normalise.cc')
-rw-r--r-- | src/normalise.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/normalise.cc b/src/normalise.cc index f463457e4ab5..6ce73d1acdad 100644 --- a/src/normalise.cc +++ b/src/normalise.cc @@ -26,8 +26,7 @@ typedef set<FSId> FSIdSet; Slice normaliseFState(FSId id, FSIdSet pending) { - debug(format("normalising fstate %1%") % (string) id); - Nest nest(true); + Nest nest(lvlDebug, format("normalising fstate %1%") % (string) id); /* Try to substitute $id$ by any known successors in order to speed up the rewrite process. */ @@ -177,8 +176,7 @@ Slice normaliseFState(FSId id, FSIdSet pending) void realiseSlice(const Slice & slice, FSIdSet pending) { - debug(format("realising slice")); - Nest nest(true); + Nest nest(lvlDebug, format("realising slice")); /* Perhaps all paths already contain the right id? */ |