< prev index next >

test/native/logging/test_logConfiguration.cpp

Print this page
rev 13113 : imported patch 8181917-refactor-ul-logstream

@@ -360,11 +360,12 @@
   Log(logging) log;
   set_log_config("stdout", "logging*=trace");
 
   LogConfiguration::register_update_listener(&Test_logconfiguration_subscribe_helper);
 
-  LogConfiguration::parse_log_arguments("stdout", "logging=trace", NULL, NULL, log.error_stream());
+  LogStream ls(log.error());
+  LogConfiguration::parse_log_arguments("stdout", "logging=trace", NULL, NULL, &ls);
   ASSERT_EQ(1, Test_logconfiguration_subscribe_triggered);
 
   LogConfiguration::configure_stdout(LogLevel::Debug, true, LOG_TAGS(gc));
   ASSERT_EQ(2, Test_logconfiguration_subscribe_triggered);
 
< prev index next >