aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-01-12 12:57:23 +0000
committerArne Juul <arnej@yahooinc.com>2023-01-12 12:58:37 +0000
commit7b8aa6b3b7423867108af15e149fa34e5cee7e11 (patch)
treeb78dc641cc80352c73638d2b3ced89d728529644 /streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp
parentee59cc51949b0b909f586634dd582ff0336053a4 (diff)
use LOG_WOULD_LOG macro
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp')
-rw-r--r--streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp b/streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp
index 7c5348e3f4f..6f8a5978583 100644
--- a/streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp
+++ b/streamingvisitors/src/vespa/vsm/searcher/fieldsearcher.cpp
@@ -245,7 +245,7 @@ void FieldIdTSearcherMap::prepare(const DocumentTypeIndexFieldMapT & difm, const
}
/// Should perhaps do a unique on onlyInIndex
(*it)->prepare(onlyInIndex, searcherBuf);
- if (logger.wants(ns_log::Logger::spam)) {
+ if (LOG_WOULD_LOG(spam)) {
char tmpBuf[16];
sprintf(tmpBuf,"%d", fid);
tmp += tmpBuf;