refactor(3p/nix/libstore): Replace logging.h with glog

This commit is contained in:
Vincent Ambo 2020-05-19 01:02:44 +01:00
parent ce99ba42df
commit 505b6b044b
25 changed files with 514 additions and 464 deletions

View file

@ -1,4 +1,5 @@
#include "nar-info-disk-cache.hh"
#include <glog/logging.h>
#include <sqlite3.h>
#include "globals.hh"
#include "sqlite.hh"
@ -126,8 +127,8 @@ class NarInfoDiskCacheImpl : public NarInfoDiskCache {
now - settings.ttlPositiveNarInfoCache)
.exec();
debug("deleted %d entries from the NAR info disk cache",
sqlite3_changes(state->db));
DLOG(INFO) << "deleted " << sqlite3_changes(state->db)
<< " entries from the NAR info disk cache";
SQLiteStmt(
state->db,