mirror of
https://github.com/NixOS/nix
synced 2025-07-04 23:51:47 +02:00
* 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.
This commit is contained in:
parent
b75719b984
commit
1a7468a57a
8 changed files with 68 additions and 25 deletions
|
@ -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? */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue