summaryrefslogtreecommitdiff
path: root/src/mongo/util/log.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2019-02-27 10:19:37 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2019-02-28 12:26:44 -0500
commit812890b7952f65241c4ae9076d698cbcc9cd5bbd (patch)
treedd870c196db0712f48ed5ba92c0be212c9187055 /src/mongo/util/log.cpp
parent34cf12d1ea67a7f11266452e44f5c2241f453f23 (diff)
downloadmongo-812890b7952f65241c4ae9076d698cbcc9cd5bbd.tar.gz
SERVER-39863 remove std using namespace directives
Diffstat (limited to 'src/mongo/util/log.cpp')
-rw-r--r--src/mongo/util/log.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp
index 9fd85790d30..a46186d8a83 100644
--- a/src/mongo/util/log.cpp
+++ b/src/mongo/util/log.cpp
@@ -42,8 +42,6 @@
#include "mongo/util/stacktrace.h"
#include "mongo/util/time_support.h"
-using namespace std;
-
// TODO: Win32 unicode console writing (in logger/console_appender?).
// TODO: Extra log context appending, and re-enable log_user_*.js
// TODO: Eliminate cout/cerr.
@@ -79,7 +77,7 @@ bool rotateLogs(bool renameFiles) {
void logContext(const char* errmsg) {
if (errmsg) {
- log() << errmsg << endl;
+ log() << errmsg << std::endl;
}
// NOTE: We disable long-line truncation for the stack trace, because the JSON representation of
// the stack trace can sometimes exceed the long line limit.