VirtualBox

Ignore:
Timestamp:
Aug 13, 2008 2:48:53 PM (16 years ago)
Author:
vboxsync
Message:

Moved annoying log messages to either level4 or private logging. Added private logging macro LogAleksey.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Performance.cpp

    r11383 r11391  
    102102        {
    103103            mLastSampleTaken = nowAt;
    104             LogFlowThisFunc (("Collecting data for obj(%p)...\n", (void *)mObject));
     104            Log4(("{%p} " LOG_FN_FMT ": Collecting data for obj(%p)...\n", this, __PRETTY_FUNCTION__, (void *)mObject));
    105105            collect();
    106106        }
     
    437437    ElementList::const_iterator it;
    438438
    439     LogFlowThisFunc(("Filter::match(%p, %s)\n", static_cast<const IUnknown*> (object), name.c_str()));
     439    LogAleksey(("Filter::match(%p, %s)\n", static_cast<const IUnknown*> (object), name.c_str()));
    440440    for (it = mElements.begin(); it != mElements.end(); it++)
    441441    {
    442         LogFlowThisFunc(("...matching against(%p, %s)\n", static_cast<const IUnknown*> ((*it).first), (*it).second.c_str()));
     442        LogAleksey(("...matching against(%p, %s)\n", static_cast<const IUnknown*> ((*it).first), (*it).second.c_str()));
    443443        if ((*it).first.isNull() || (*it).first == object)
    444444        {
     
    451451        }
    452452    }
    453     LogFlowThisFunc(("...no matches!\n"));
     453    LogAleksey(("...no matches!\n"));
    454454    return false;
    455455}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette