diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2020-03-02 22:11:36 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-03 03:29:45 +0000 |
commit | 6580304d0211f406566514ec68d5865a6a9e7810 (patch) | |
tree | 22b9d1710b387e9e880f96a26b4315c6f52ed049 /src/mongo/db/curop.h | |
parent | 33ba055bad586903038902825c14948038ad495e (diff) | |
download | mongo-6580304d0211f406566514ec68d5865a6a9e7810.tar.gz |
SERVER-46219 Unittests should log with JSON format
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 076bc119d75..dc60bd37a86 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -122,6 +122,7 @@ public: * the format: "<field1>:<value1> <field2>:<value2> ...". */ std::string report() const; + BSONObj reportBSON() const; void report(logv2::DynamicAttributes* pAttrs) const; |