Start to consolidate logging into host-common/logging.h
... to make it easier to enable debug logging for Gfxstream
Bug: b/189133053
Test: presubmit build
Change-Id: I4f0e6bb32c68714085edc955890dd50cda072e58
diff --git a/stream-servers/RendererImpl.cpp b/stream-servers/RendererImpl.cpp
index 0d310ce..6ab2ed3 100644
--- a/stream-servers/RendererImpl.cpp
+++ b/stream-servers/RendererImpl.cpp
@@ -20,7 +20,6 @@
#include "snapshot/common.h"
#include "host-common/logging.h"
-#include "ErrorLog.h"
#include "FenceSync.h"
#include "FrameBuffer.h"
@@ -227,8 +226,8 @@
mLoaderRenderThread.reset();
}
- DBG("Started new RenderThread (total %" PRIu64 ") @%p\n",
- static_cast<uint64_t>(mChannels.size()), channel->renderThread());
+ GL_LOG("Started new RenderThread (total %" PRIu64 ") @%p",
+ static_cast<uint64_t>(mChannels.size()), channel->renderThread());
}
return channel;