Add debug log statements to archive warning loading

This commit is contained in:
Dan Paulat 2025-04-26 09:47:50 -05:00
parent 65e3a66750
commit 8dde98d2a9
4 changed files with 29 additions and 6 deletions

View file

@ -17,7 +17,8 @@ namespace scwx::provider
{
static const std::string logPrefix_ = "scwx::provider::iem_api_provider";
static const auto logger_ = util::Logger::Create(logPrefix_);
const auto IemApiProvider::logger_ = util::Logger::Create(logPrefix_);
const std::string IemApiProvider::kBaseUrl_ =
"https://mesonet.agron.iastate.edu/api/1";
@ -140,7 +141,7 @@ IemApiProvider::ProcessTextProductLists(
}
}
logger_->trace("Found {} products", textProducts.size());
logger_->debug("Found {} products", textProducts.size());
return textProducts;
}
@ -175,6 +176,8 @@ IemApiProvider::ProcessTextProductFiles(
}
}
logger_->debug("Loaded {} text products", textProductFiles.size());
return textProductFiles;
}