mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-27 14:36:52 +01:00
Improve log message.
This commit is contained in:
parent
bf371b21b9
commit
ef23b96c94
@ -7897,9 +7897,9 @@ void Client::do_get_updates(int32 offset, int32 limit, int32 timeout, PromisedQu
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (need_warning) {
|
if (need_warning) {
|
||||||
LOG(WARNING) << "Found " << updates.size() << " updates out of " << total_size << " + " << updates.size()
|
LOG(WARNING) << "Found " << updates.size() << " updates out of " << (total_size + updates.size())
|
||||||
<< " after last getUpdates call " << (td::Time::now() - previous_get_updates_finish_time_)
|
<< " after last getUpdates call " << (query->start_timestamp() - previous_get_updates_finish_time_)
|
||||||
<< " seconds ago";
|
<< " seconds ago in " << (td::Time::now() - query->start_timestamp()) << " seconds";
|
||||||
} else {
|
} else {
|
||||||
LOG(DEBUG) << "Found " << updates.size() << " updates out of " << total_size << " from " << from;
|
LOG(DEBUG) << "Found " << updates.size() << " updates out of " << total_size << " from " << from;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user