From c9d128b6407d1ab74106f530889cc5138eab2120 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Fri, 12 Jul 2019 14:13:04 +0300 Subject: [PATCH] [tips] error log is removed from tips api --- map/tips_api.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/map/tips_api.cpp b/map/tips_api.cpp index edebf60bda..9390891ff6 100644 --- a/map/tips_api.cpp +++ b/map/tips_api.cpp @@ -51,10 +51,6 @@ boost::optional GetTipImpl(TipsApi::Duration showAnyTipPeriod, auto const info = Eye::Instance().GetInfo(); CHECK(info, ("Eye info must be initialized")); - LOG(LINFO, ("Eye info ptr use count:", info.use_count(), "Info", *info, "Info::m_booking ref:", - &(info->m_booking), "Info::m_bookmarks ref:", &(info->m_bookmarks), "Info::m_discovery ref:", - &(info->m_discovery), "Info::m_layers ref:", &(info->m_layers), "Info::m_tips ref:", - &(info->m_tips))); auto const & tips = info->m_tips; auto constexpr totalTipsCount = static_cast(Tip::Type::Count); @@ -87,22 +83,7 @@ boost::optional GetTipImpl(TipsApi::Duration showAnyTipPeriod, for (auto const & c : candidates) { if (c.second && conditions[ToIndex(c.first)](*info)) - { - { - std::ostringstream os; - os << "Condition for tip " << DebugPrint(c.first) - << " returns true. Previously shown tips: [ "; - for (auto const & candidate : candidates) - { - if (!candidate.second) - os << DebugPrint(candidate.first) << " "; - } - os << "]"; - LOG(LINFO, (os.str())); - } - return c.first; - } } }