From 505b6b044b132b28e1501491bcfe6bd68ca1989e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 19 May 2020 01:02:44 +0100 Subject: refactor(3p/nix/libstore): Replace logging.h with glog --- third_party/nix/src/libstore/references.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'third_party/nix/src/libstore/references.cc') diff --git a/third_party/nix/src/libstore/references.cc b/third_party/nix/src/libstore/references.cc index df3ee73fde84..5413bfb5cf74 100644 --- a/third_party/nix/src/libstore/references.cc +++ b/third_party/nix/src/libstore/references.cc @@ -1,4 +1,5 @@ #include "references.hh" +#include #include #include #include "archive.hh" @@ -32,7 +33,7 @@ static void search(const unsigned char* s, size_t len, StringSet& hashes, if (!match) continue; string ref((const char*)s + i, refLength); if (hashes.find(ref) != hashes.end()) { - debug(format("found reference to '%1%' at offset '%2%'") % ref % i); + DLOG(INFO) << "found reference to '" << ref << "' at offset " << i; seen.insert(ref); hashes.erase(ref); } -- cgit 1.4.1