logging: update initialization code to use the new LogConfig logic
[folly.git] / folly / experimental / logging / test / AsyncFileWriterTest.cpp
index 753b07e7ed9969a5db2296b694d705755f6a5c58..eefcf746f6c378efdd61936dd54b23b90d169dd1 100644 (file)
@@ -615,8 +615,7 @@ TEST(AsyncFileWriter, discard) {
 int main(int argc, char* argv[]) {
   testing::InitGoogleTest(&argc, argv);
   folly::init(&argc, &argv);
-  // Don't use async logging in the async logging tests :-)
-  folly::initLoggingGlogStyle(FLAGS_logging, LogLevel::INFO, /* async */ false);
+  folly::initLogging(FLAGS_logging);
 
   return RUN_ALL_TESTS();
 }