platform2: change LoggingSeverity logging::{LOG=>LOGGING}_*
They would be renamed after libchrome r822064 uprev.
BUG=chromium:1144735
TEST=./build_package --board=eve locally; CQ
Exempt-From-Owner-Approval: Mechanical change involving a lot of owners.
Change-Id: If338e215b5a2ff44441b2f42db2e384e5549abf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2557300
Tested-by: Grace Cham <hscham@chromium.org>
Reviewed-by: Clark Chung <ckclark@chromium.org>
Reviewed-by: Sergei Datsenko <dats@chromium.org>
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Felipe Andrade <fsandrade@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Kyle Williams <kdgwill@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Andrew Lassalle <andrewlassalle@chromium.org>
Reviewed-by: Ryan Hansberry <hansberry@chromium.org>
Reviewed-by: Ian Barkley-Yeung <iby@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Garrick Evans <garrick@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Xinglong Luan <alanlxl@chromium.org>
Commit-Queue: Qijiang Fan <fqj@google.com>
diff --git a/patchpanel/datapath_fuzzer.cc b/patchpanel/datapath_fuzzer.cc
index 4a41bd3..95d9e4d 100644
--- a/patchpanel/datapath_fuzzer.cc
+++ b/patchpanel/datapath_fuzzer.cc
@@ -49,7 +49,7 @@
class Environment {
public:
Environment() {
- logging::SetMinLogLevel(logging::LOG_FATAL); // <- DISABLE LOGGING.
+ logging::SetMinLogLevel(logging::LOGGING_FATAL); // <- DISABLE LOGGING.
}
base::AtExitManager at_exit;
};
diff --git a/patchpanel/dbus/client_fuzzer.cc b/patchpanel/dbus/client_fuzzer.cc
index e94faf8..ed3f5b3 100644
--- a/patchpanel/dbus/client_fuzzer.cc
+++ b/patchpanel/dbus/client_fuzzer.cc
@@ -16,7 +16,7 @@
class Environment {
public:
Environment() {
- logging::SetMinLogLevel(logging::LOG_FATAL); // <- DISABLE LOGGING.
+ logging::SetMinLogLevel(logging::LOGGING_FATAL); // <- DISABLE LOGGING.
}
};
diff --git a/patchpanel/firewall_fuzzer.cc b/patchpanel/firewall_fuzzer.cc
index 56e8871..64d7081 100644
--- a/patchpanel/firewall_fuzzer.cc
+++ b/patchpanel/firewall_fuzzer.cc
@@ -33,7 +33,7 @@
} // namespace patchpanel
struct Environment {
- Environment() { logging::SetMinLogLevel(logging::LOG_FATAL); }
+ Environment() { logging::SetMinLogLevel(logging::LOGGING_FATAL); }
};
void FuzzAcceptRules(patchpanel::FakeFirewall* fake_firewall,
diff --git a/patchpanel/multicast_forwarder_fuzzer.cc b/patchpanel/multicast_forwarder_fuzzer.cc
index 632cb73..6e63f24 100644
--- a/patchpanel/multicast_forwarder_fuzzer.cc
+++ b/patchpanel/multicast_forwarder_fuzzer.cc
@@ -14,7 +14,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
// Turn off logging.
- logging::SetMinLogLevel(logging::LOG_FATAL);
+ logging::SetMinLogLevel(logging::LOGGING_FATAL);
// Copy the input data so that TranslateMdnsIp can mutate it.
char* payload = new char[size];
diff --git a/patchpanel/ndproxy_fuzzer.cc b/patchpanel/ndproxy_fuzzer.cc
index ebeac88..1f38f3f 100644
--- a/patchpanel/ndproxy_fuzzer.cc
+++ b/patchpanel/ndproxy_fuzzer.cc
@@ -12,7 +12,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
// Turn off logging.
- logging::SetMinLogLevel(logging::LOG_FATAL);
+ logging::SetMinLogLevel(logging::LOGGING_FATAL);
uint8_t* out_buffer_extended = new uint8_t[size + 4];
uint8_t* out_buffer = NDProxy::AlignFrameBuffer(out_buffer_extended);