diff options
Diffstat (limited to 'src/mongo/client/dbclientcursor.h')
-rw-r--r-- | src/mongo/client/dbclientcursor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/client/dbclientcursor.h b/src/mongo/client/dbclientcursor.h index 20c28df0a0d..46ae49c46b1 100644 --- a/src/mongo/client/dbclientcursor.h +++ b/src/mongo/client/dbclientcursor.h @@ -78,8 +78,7 @@ namespace mongo { BSONObj o = next(); if( strcmp(o.firstElementFieldName(), "$err") == 0 ) { string s = "nextSafe(): " + o.toString(); - if( logLevel >= 5 ) - log() << s << endl; + LOG(5) << s; uasserted(13106, s); } return o; |