about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-12-06T20·58+0100
committerEelco Dolstra <edolstra@gmail.com>2016-12-06T20·58+0100
commitceeedb58d23950f0ae3944484bca331e5cbb8053 (patch)
tree03b0920875d5407bb0df96264056cf17c8a80b36 /src/libutil
parent7a3e7d0e61a651cb929b88a23f930785cfef3774 (diff)
Use a steady clock for timeouts
Fixes #1146.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/logging.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index ba99a81c3826..3e6c4b54853c 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -79,6 +79,7 @@ extern Verbosity verbosity; /* suppress msgs > this */
 #define printError(args...) printMsg(lvlError, args)
 #define printInfo(args...) printMsg(lvlInfo, args)
 #define debug(args...) printMsg(lvlDebug, args)
+#define vomit(args...) printMsg(lvlVomit, args)
 
 void warnOnce(bool & haveWarned, const FormatOrString & fs);