diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T03·52+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T03·52+0100 |
commit | 95a57f15ca795eb1b36363b7d6db6b88bfe444e2 (patch) | |
tree | ad9328cded554eb7d3e153075c6750a17ca39803 /third_party/nix/src/nix/sigs.cc | |
parent | 9aa2ecd78cc865f69a9e978ae55ab0f3eda73c46 (diff) |
refactor(3p/nix/nix-*): Replace logging with glog in binaries r/762
Diffstat (limited to 'third_party/nix/src/nix/sigs.cc')
-rw-r--r-- | third_party/nix/src/nix/sigs.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/sigs.cc b/third_party/nix/src/nix/sigs.cc index da453d1486fe..78ac8612e778 100644 --- a/third_party/nix/src/nix/sigs.cc +++ b/third_party/nix/src/nix/sigs.cc @@ -1,3 +1,4 @@ +#include <glog/logging.h> #include <atomic> #include "command.hh" #include "shared.hh" @@ -82,7 +83,7 @@ struct CmdCopySigs : StorePathsCommand { pool.process(); - printInfo(format("imported %d signatures") % added); + LOG(INFO) << "imported " << added << " signatures"; } }; @@ -126,7 +127,7 @@ struct CmdSignPaths : StorePathsCommand { } } - printInfo(format("added %d signatures") % added); + LOG(INFO) << "added " << added << " signatures"; } }; |