logging: reduce the amount of code emitted for log statements
[folly.git] / folly / experimental / logging / test / XlogFile1.cpp
index 2d43930e19ace482873dd9d3b149433ea5c747a8..b24085b425b7e000b49a1a1cd6326b6a54a67a90 100644 (file)
@@ -18,6 +18,6 @@
 
 namespace logging_test {
 void testXlogFile1Dbg1(folly::StringPiece msg) {
-  XLOG(DBG1, "file1: ", msg);
+  XLOG(DBG1) << "file1: " << msg;
 }
 }