shill: Rename MLOG to LOG
Redefine the LOG macro to route messages through MLOG. Changed
mock_log.cc to actively look for messages with the MemoryLog prefix and
remove it, thus greatly simplifying testing.
BUG=chromium-os:31145
TEST=Builds, unit tests still pass
Change-Id: I458f40048375ac8848f7a009d9a6f6b7f52f6744
Reviewed-on: https://gerrit.chromium.org/gerrit/29942
Commit-Ready: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
diff --git a/mock_log.h b/mock_log.h
index da25e76..2f90c5e 100644
--- a/mock_log.h
+++ b/mock_log.h
@@ -51,9 +51,10 @@
// For some examples, see mock_log_unittest.cc.
#include <string>
-#include <base/logging.h>
#include <gmock/gmock.h>
+#include "shill/logging.h"
+
namespace shill {
class ScopedMockLog {