refactor(3p/nix/nix-*): Replace logging with glog in binaries

This commit is contained in:
Vincent Ambo 2020-05-19 04:52:47 +01:00
parent 9aa2ecd78c
commit 95a57f15ca
21 changed files with 120 additions and 168 deletions

View file

@ -1,3 +1,4 @@
#include <glog/logging.h>
#include <cstring>
#include <fstream>
#include <iostream>
@ -359,8 +360,7 @@ static void _main(int argc, char** argv) {
shell = drv->queryOutPath() + "/bin/bash";
} catch (Error& e) {
printError("warning: %s; will use bash from your environment",
e.what());
LOG(WARNING) << e.what() << "; will use bash from your environment";
shell = "bash";
}
}