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/sqlite.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'third_party/nix/src/libstore/sqlite.cc') diff --git a/third_party/nix/src/libstore/sqlite.cc b/third_party/nix/src/libstore/sqlite.cc index 2f4bfb654c65..aa6c15ec1595 100644 --- a/third_party/nix/src/libstore/sqlite.cc +++ b/third_party/nix/src/libstore/sqlite.cc @@ -1,4 +1,5 @@ #include "sqlite.hh" +#include #include #include #include "util.hh" @@ -157,7 +158,7 @@ void handleSQLiteBusy(const SQLiteBusy& e) { if (now > lastWarned + 10) { lastWarned = now; - printError("warning: %s", e.what()); + LOG(ERROR) << e.what(); } /* Sleep for a while since retrying the transaction right away -- cgit 1.4.1