Remove base/logging.h in a whole lot more places.

This commit is contained in:
Henrik Rydgård
2020-08-15 19:09:00 +02:00
parent 5eb13378c6
commit c41f875df4
36 changed files with 136 additions and 127 deletions
+4 -3
View File
@@ -1,6 +1,7 @@
#include "base/logging.h"
#include "thread/threadpool.h"
#include "thread/threadutil.h"
#include "Common/Log.h"
#include "Common/MakeUnique.h"
///////////////////////////// WorkerThread
@@ -86,9 +87,9 @@ void LoopWorkerThread::WorkFunc() {
ThreadPool::ThreadPool(int numThreads) {
if (numThreads <= 0) {
numThreads_ = 1;
ILOG("ThreadPool: Bad number of threads %i", numThreads);
INFO_LOG(JIT, "ThreadPool: Bad number of threads %d", numThreads);
} else if (numThreads > 8) {
ILOG("ThreadPool: Capping number of threads to 8 (was %i)", numThreads);
INFO_LOG(JIT, "ThreadPool: Capping number of threads to 8 (was %d)", numThreads);
numThreads_ = 8;
} else {
numThreads_ = numThreads;