Move over to ABSL logging and flags.
Removes gperftools too since that wants gflags.
Here come the fireworks.
Change-Id: I79cb7bcf60f1047fbfa28bfffc21a0fd692e4b1c
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/logging/dynamic_logging.cc b/aos/logging/dynamic_logging.cc
index 48c9dcb..4ed4ea3 100644
--- a/aos/logging/dynamic_logging.cc
+++ b/aos/logging/dynamic_logging.cc
@@ -3,8 +3,10 @@
#include <ostream>
#include <string_view>
+#include "absl/log/check.h"
+#include "absl/log/globals.h"
+#include "absl/log/log.h"
#include "flatbuffers/string.h"
-#include "glog/logging.h"
namespace aos::logging {
@@ -31,7 +33,7 @@
if (command.vlog_level() < 0) {
return;
}
- FLAGS_v = command.vlog_level();
+ absl::SetGlobalVLogLevel(command.vlog_level());
}
} // namespace aos::logging