equal
deleted
inserted
replaced
361 Log(logging) log; |
361 Log(logging) log; |
362 set_log_config("stdout", "logging*=trace"); |
362 set_log_config("stdout", "logging*=trace"); |
363 |
363 |
364 LogConfiguration::register_update_listener(&Test_logconfiguration_subscribe_helper); |
364 LogConfiguration::register_update_listener(&Test_logconfiguration_subscribe_helper); |
365 |
365 |
366 LogConfiguration::parse_log_arguments("stdout", "logging=trace", NULL, NULL, log.error_stream()); |
366 LogStream ls(log.error()); |
|
367 LogConfiguration::parse_log_arguments("stdout", "logging=trace", NULL, NULL, &ls); |
367 ASSERT_EQ(1, Test_logconfiguration_subscribe_triggered); |
368 ASSERT_EQ(1, Test_logconfiguration_subscribe_triggered); |
368 |
369 |
369 LogConfiguration::configure_stdout(LogLevel::Debug, true, LOG_TAGS(gc)); |
370 LogConfiguration::configure_stdout(LogLevel::Debug, true, LOG_TAGS(gc)); |
370 ASSERT_EQ(2, Test_logconfiguration_subscribe_triggered); |
371 ASSERT_EQ(2, Test_logconfiguration_subscribe_triggered); |
371 |
372 |