summaryrefslogtreecommitdiff
path: root/retrace/daemon/test
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2015-11-20 15:00:11 -0800
committerMark Janes <mark.a.janes@intel.com>2017-06-19 14:04:46 -0700
commit44046314b8727111e34894768a3b254d8a6bf7c5 (patch)
treee70ea45fa5801712534c5d8e56900d2b1f606b3b /retrace/daemon/test
parentd205bb2ce6871245182ab01071603815880cc6a9 (diff)
deploy logger in main
Diffstat (limited to 'retrace/daemon/test')
-rw-r--r--retrace/daemon/test/retrace_log_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/retrace/daemon/test/retrace_log_test.cpp b/retrace/daemon/test/retrace_log_test.cpp
index 122c97e9..adcfa806 100644
--- a/retrace/daemon/test/retrace_log_test.cpp
+++ b/retrace/daemon/test/retrace_log_test.cpp
@@ -37,6 +37,7 @@ using glretrace::WARN;
TEST(Logger, ReadWrite) {
Logger::Create("/tmp");
+ Logger::Begin();
std::string s("This is a test message");
GRLOG(ERROR, s.c_str());
Logger::Flush();
@@ -49,6 +50,7 @@ TEST(Logger, ReadWrite) {
TEST(Logger, RepeatLog) {
Logger::Create("/tmp");
+ Logger::Begin();
std::string m;
ssize_t p;
unsigned int seed = 1;