about summary refs log tree commit diff
path: root/src/libutil/logging.hh
AgeCommit message (Collapse)AuthorFilesLines
2017-08-16 nix copy: Improve progress indicatorEelco Dolstra1-1/+15
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...'
2017-08-16 nix copy: Revive progress barEelco Dolstra1-0/+15
2017-05-29 Fix build failure on Debian/UbuntuEelco Dolstra1-1/+0
http://hydra.nixos.org/build/53537463
2017-05-16 Improve progress indicatorEelco Dolstra1-26/+65
2017-05-15 Make fmt() non-recursiveEelco Dolstra1-1/+1
2017-04-13 Add warn functionEelco Dolstra1-0/+10
2017-02-14 Add support for s3:// URIsEelco Dolstra1-0/+1
This adds support for s3:// URIs in all places where Nix allows URIs, e.g. in builtins.fetchurl, builtins.fetchTarball, <nix/fetchurl.nix> and NIX_PATH. It allows fetching resources from private S3 buckets, using credentials obtained from the standard places (i.e. AWS_* environment variables, ~/.aws/credentials and the EC2 metadata server). This may not be super-useful in general, but since we already depend on aws-sdk-cpp, it's a cheap feature to add.
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.