diff options
author | Dwight <dwight@10gen.com> | 2011-11-04 16:52:05 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2011-11-04 16:52:05 -0400 |
commit | 655877bf6f2b8e60632e058b4aaaf7b8b69433fa (patch) | |
tree | f0ce16e9a0f8110f4ca46c2f479ee89d5a8d9423 /db/matcher.cpp | |
parent | e48d88a9abd62222377bc6611bfc6784d218b77d (diff) | |
download | mongo-655877bf6f2b8e60632e058b4aaaf7b8b69433fa.tar.gz |
logging for matcher
Diffstat (limited to 'db/matcher.cpp')
-rwxr-xr-x | db/matcher.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/db/matcher.cpp b/db/matcher.cpp index 8e2916127e8..859c546eafd 100755 --- a/db/matcher.cpp +++ b/db/matcher.cpp @@ -818,8 +818,11 @@ namespace mongo { /* See if an object matches the query. */ bool Matcher::matches(const BSONObj& jsobj , MatchDetails * details ) { + + LOG(5) << "Matcher::matches() " << jsobj.toString() << endl; + /* assuming there is usually only one thing to match. if more this - could be slow sometimes. */ + could be slow sometimes. */ // check normal non-regex cases: for ( unsigned i = 0; i < _basics.size(); i++ ) { |