ACME-558: Adding logging information, when a friends list is received the log message 'Facebook: Friends list received' will be displayed. When the suggested friends list is updated the log message 'Facebook: Updating Suggested Friends List' will be displayed.

meow-7.2.2
Gilbert Gonzales 2013-06-17 14:59:03 -07:00
parent 37dcc33532
commit efa555cc5c
2 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,7 @@ public:
{
if (isGoodStatus(status))
{
llinfos << "Facebook: Friends list received" << llendl;
LL_DEBUGS("FacebookConnect") << "Getting Facebook friends successful. content: " << content << LL_ENDL;
LLFacebookConnect::instance().storeContent(content);
}

View File

@ -863,6 +863,8 @@ void LLPanelPeople::updateSuggestedFriendList()
{
if (LLFacebookConnect::instance().generation() != mFacebookListGeneration)
{
llinfos << "Facebook: Updating Suggested Friends List" << llendl;
mFacebookListGeneration = LLFacebookConnect::instance().generation();
const LLAvatarTracker& av_tracker = LLAvatarTracker::instance();