summaryrefslogtreecommitdiff
path: root/runtime/openjdkjvm/OpenjdkJvm.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-09-13 10:47:28 -0700
committer Andreas Gampe <agampe@google.com> 2016-09-26 10:59:22 -0700
commit3fec9ac0d5af1358d216eb2fdc2000ec0205f3f0 (patch)
treef38d8d8aae51f53e7ee6b474f47597b784fc2316 /runtime/openjdkjvm/OpenjdkJvm.cc
parent0cfe19af3b7395658210ea6044a65c9811962a7a (diff)
ART: Use libbase logging
Move most of our logging infrastructure over to system/core/base. Retain VLOG. Using unified Android infrastructure has two main advantages. First, it reduces the complexity/maintenance burden in ART. Second, it allows to detach logging for the cases where we do not want or need a runtime, e.g., dexdump, the disassembler, etc. As a part of the latter, libbase is also supported for all hosts (including Windows). From a developer viewpoint, there are minor behavior changes for the LOG statements (see above), but otherwise usage is the same. Explicit severity enum items are in the android::base namespace now. Bug: 31338270 Test: m test-art-host Change-Id: I5abcb2f45f5b03d49951874c48544f72a283a91b
Diffstat (limited to 'runtime/openjdkjvm/OpenjdkJvm.cc')
-rw-r--r--runtime/openjdkjvm/OpenjdkJvm.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/openjdkjvm/OpenjdkJvm.cc b/runtime/openjdkjvm/OpenjdkJvm.cc
index 54ec5d32f5..4a62ecdf4d 100644
--- a/runtime/openjdkjvm/OpenjdkJvm.cc
+++ b/runtime/openjdkjvm/OpenjdkJvm.cc
@@ -61,10 +61,10 @@
#undef LOG_TAG
#define LOG_TAG "artopenjdk"
-using art::WARNING;
-using art::INFO;
-using art::ERROR;
-using art::FATAL;
+using ::android::base::WARNING;
+using ::android::base::INFO;
+using ::android::base::ERROR;
+using ::android::base::FATAL;
/* posix open() with extensions; used by e.g. ZipFile */
JNIEXPORT jint JVM_Open(const char* fname, jint flags, jint mode) {