added support for using logging in tests
diff --git a/aos/common/queue_testutils.h b/aos/common/queue_testutils.h
index 81f1efb..aabdd2d 100644
--- a/aos/common/queue_testutils.h
+++ b/aos/common/queue_testutils.h
@@ -13,6 +13,13 @@
struct aos_core global_core_data_;
};
+// Enables the logging framework for use during a gtest test.
+// It will print out all WARNING and above messages all of the time. It will
+// also print out all log messages when a test fails.
+// This function only needs to be called once in each process (after gtest is
+// initialized), however it can be called more than that.
+void EnableTestLogging();
+
} // namespace testing
} // namespace common
} // namespace aos