Improve logging.

GitOrigin-RevId: 19ebd22de4f0b6fd036f6d8ec2a40c6808f5f7b8
This commit is contained in:
levlam 2019-12-26 23:03:56 +03:00
parent e05f97638c
commit 6d742ec9b6

View File

@ -22613,8 +22613,10 @@ void MessagesManager::send_update_unread_chat_count(FolderId folder_id, DialogId
int32 unread_unmuted_count = list.unread_dialog_total_count_ - list.unread_dialog_muted_count_;
int32 unread_unmuted_marked_count = list.unread_dialog_marked_count_ - list.unread_dialog_muted_marked_count_;
LOG(INFO) << (need_postpone ? "Postpone" : "Send") << " updateUnreadChatCount in " << folder_id << " to "
<< list.unread_dialog_total_count_ << '/' << unread_unmuted_count << '/' << list.unread_dialog_marked_count_
<< '/' << unread_unmuted_marked_count << " from " << source << " and " << dialog_id;
<< list.in_memory_dialog_total_count_ << '/' << list.server_dialog_total_count_ << '+'
<< list.secret_chat_total_count_ << '/' << list.unread_dialog_total_count_ << '/' << unread_unmuted_count
<< '/' << list.unread_dialog_marked_count_ << '/' << unread_unmuted_marked_count << " from " << source
<< " and " << dialog_id;
if (need_postpone) {
postponed_unread_chat_count_updates_.insert(folder_id);
} else {