mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:30:06 +00:00
Add debug log statements to archive warning loading
This commit is contained in:
parent
65e3a66750
commit
8dde98d2a9
4 changed files with 29 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue