1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 03:39:36 +01: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:
Eelco Dolstra 2003-07-24 08:53:43 +00:00
parent b75719b984
commit 1a7468a57a
8 changed files with 68 additions and 25 deletions

View file

@ -168,7 +168,7 @@ string expandId(const FSId & id, const string & target,
const string & prefix, FSIdSet pending)
{
debug(format("expanding %1%") % (string) id);
Nest nest(true);
Nest nest(lvlDebug, format("expanding %1%") % (string) id);
Strings paths;