diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-24T13·43+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-24T13·43+0000 |
commit | 0a0c1fcb4d0e42577ac0c7ac23bd9b908ecde49f (patch) | |
tree | c52d0c7f02f6a61d1bc48dbe3474daeca1471b25 /src/util.hh | |
parent | 3b521bb1bd53479896de89e7a24938039f92aace (diff) |
* The `-v' flag no longer takes an argument; it should be repeated
instead (e.g., `-vvvv' for lots of output). Default is to only print error messages.
Diffstat (limited to 'src/util.hh')
-rw-r--r-- | src/util.hh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/util.hh b/src/util.hh index 6d87898b5db2..2863085c16f9 100644 --- a/src/util.hh +++ b/src/util.hh @@ -73,10 +73,11 @@ void deletePath(string path); /* Messages. */ typedef enum { - lvlError = 0, - lvlNormal = 5, - lvlDebug = 10, - lvlDebugMore = 15 + lvlError, + lvlTalkative, + lvlChatty, + lvlDebug, + lvlVomit } Verbosity; extern Verbosity verbosity; /* supress msgs > this */ @@ -91,7 +92,7 @@ public: }; void msg(Verbosity level, const format & f); -void debug(const format & f); /* shorthand */ +void debug(const format & f); /* short-hand for msg(lvlDebug, ...) */ /* Wrappers arount read()/write() that read/write exactly the |