mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 09:10:06 +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,
|
std::chrono::system_clock::time_point time,
|
||||||
bool update)
|
bool update)
|
||||||
{
|
{
|
||||||
logger_->debug("Populating product times (Update: {}): {}, {}, {}",
|
if (update)
|
||||||
update,
|
{
|
||||||
|
logger_->debug("Populating product times: {}, {}, {}",
|
||||||
common::GetRadarProductGroupName(providerManager->group_),
|
common::GetRadarProductGroupName(providerManager->group_),
|
||||||
providerManager->product_,
|
providerManager->product_,
|
||||||
scwx::util::time::TimeString(time));
|
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);
|
auto today = std::chrono::floor<std::chrono::days>(time);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue