about summary refs log tree commit diff
path: root/src/libutil/logging.hh
AgeCommit message (Collapse)AuthorFilesLines
2016-12-06 Use a steady clock for timeoutsEelco Dolstra1-0/+1
Fixes #1146.
2016-09-21 Some notational convenience for formatting stringsEelco Dolstra1-3/+8
We can now write throw Error("file '%s' not found", path); instead of throw Error(format("file '%s' not found") % path); and similarly printError("file '%s' not found", path); instead of printMsg(lvlError, format("file '%s' not found") % path);
2016-04-25 Improved logging abstractionEelco Dolstra1-0/+82
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type.