summaryrefslogtreecommitdiff
path: root/src/mongo/platform/decimal128_bson_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/platform/decimal128_bson_test.cpp')
-rw-r--r--src/mongo/platform/decimal128_bson_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/platform/decimal128_bson_test.cpp b/src/mongo/platform/decimal128_bson_test.cpp
index dd6c2dd2018..6f0313f1d12 100644
--- a/src/mongo/platform/decimal128_bson_test.cpp
+++ b/src/mongo/platform/decimal128_bson_test.cpp
@@ -42,6 +42,7 @@
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/config.h"
#include "mongo/db/json.h"
+#include "mongo/logv2/log.h"
#include "mongo/platform/decimal128.h"
#include "mongo/unittest/unittest.h"
#include "mongo/util/hex.h"
@@ -94,7 +95,7 @@ TEST(Decimal128BSONTest, TestsConstructingDecimalWithBsonDump) {
BSONElement extjson = b.getField("extjson");
BSONElement canonical_extjson = b.getField("canonical_extjson");
- log() << "Test - " << desc.str();
+ LOGV2(22609, "Test - {desc_str}", "desc_str"_attr = desc.str());
StringData hexString = bson.valueStringData();
BSONObj d = convertHexStringToBsonObj(hexString);
@@ -108,7 +109,7 @@ TEST(Decimal128BSONTest, TestsConstructingDecimalWithBsonDump) {
}
ASSERT_EQ(trimWhiteSpace(outputJson), trimWhiteSpace(expectedJson));
- log() << "PASSED";
+ LOGV2(22610, "PASSED");
}
}
}