summaryrefslogtreecommitdiffstats
path: root/searchlib
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 /searchlib
parentee59cc51949b0b909f586634dd582ff0336053a4 (diff)
use LOG_WOULD_LOG macro
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/features/termeditdistancefeature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/features/termeditdistancefeature.cpp b/searchlib/src/vespa/searchlib/features/termeditdistancefeature.cpp
index d85d7132feb..c0ea4a2b8c1 100644
--- a/searchlib/src/vespa/searchlib/features/termeditdistancefeature.cpp
+++ b/searchlib/src/vespa/searchlib/features/termeditdistancefeature.cpp
@@ -166,7 +166,7 @@ TermEditDistanceExecutor::handle_bind_match_data(const fef::MatchData &md)
void
TermEditDistanceExecutor::logRow(const std::vector<TedCell> &row, size_t numCols)
{
- if (logger.wants(ns_log::Logger::info)) {
+ if (LOG_WOULD_LOG(info)) {
vespalib::string str = "[ ";
for (size_t i = 0; i < numCols; ++i) {
str.append(vespalib::make_string("%5.2f", row[i].cost));