mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 18:50:05 +00:00
Filter PopulateProductTimes log entries
This commit is contained in:
parent
22a6ed33c1
commit
acfb515e10
1 changed files with 14 additions and 5 deletions
|
|
@ -1302,11 +1302,20 @@ void RadarProductManagerImpl::PopulateProductTimes(
|
|||
std::chrono::system_clock::time_point time,
|
||||
bool update)
|
||||
{
|
||||
logger_->debug("Populating product times (Update: {}): {}, {}, {}",
|
||||
update,
|
||||
common::GetRadarProductGroupName(providerManager->group_),
|
||||
providerManager->product_,
|
||||
scwx::util::time::TimeString(time));
|
||||
if (update)
|
||||
{
|
||||
logger_->debug("Populating product times: {}, {}, {}",
|
||||
common::GetRadarProductGroupName(providerManager->group_),
|
||||
providerManager->product_,
|
||||
scwx::util::time::TimeString(time));
|
||||
}
|
||||
else
|
||||
{
|
||||
logger_->trace("Populating cached product times: {}, {}, {}",
|
||||
common::GetRadarProductGroupName(providerManager->group_),
|
||||
providerManager->product_,
|
||||
scwx::util::time::TimeString(time));
|
||||
}
|
||||
|
||||
auto today = std::chrono::floor<std::chrono::days>(time);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue