summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2020-02-20 16:54:57 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-23 18:43:31 +0000
commite8f1d29de757d41f7d082d5ca1e667d1b8938741 (patch)
tree40a89fd7ef888cca91c413f4b5ecf981afcbdd99 /src/mongo/db/curop.h
parent68dfffe822f1888f221b265dc7974e9f98ea383c (diff)
downloadmongo-e8f1d29de757d41f7d082d5ca1e667d1b8938741.tar.gz
SERVER-46156 Deprecate LogstreamBuilder and more manual log conversions
* Remove setPlainConsoleLogger() * Update errorcodes linter to work with custom user defined log macros rename src/mongo/embedded/{embedded_log_appender.h => embedded_log_backend.h} (61%)
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index f563cb05ed8..41a5e5da50a 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -37,6 +37,7 @@
#include "mongo/db/server_options.h"
#include "mongo/db/write_concern_options.h"
#include "mongo/logv2/attribute_storage.h"
+#include "mongo/logv2/log_component.h"
#include "mongo/platform/atomic_word.h"
#include "mongo/util/diagnostic_info.h"
#include "mongo/util/progress_meter.h"
@@ -331,7 +332,7 @@ public:
* operation should also be profiled.
*/
bool completeAndLogOperation(OperationContext* opCtx,
- logger::LogComponent logComponent,
+ logv2::LogComponent logComponent,
boost::optional<size_t> responseLength = boost::none,
boost::optional<long long> slowMsOverride = boost::none,
bool forceLog = false);