VirtualBox

Changeset 55980 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 20, 2015 5:35:22 PM (10 years ago)
Author:
vboxsync
Message:

iprt/log.h,++: Added extended logger instance getters that also checks whether the given logger and group-flags are enabled, making the LogRel* checks more efficient in avoid uncessary RTLogLoggerEx parameter building and calls. Ditto for debug logging. The LOG_INSTANCE and LOG_REL_INSTANCE tricks are gone for now.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r55864 r55980  
    20762076        va_end(vaCopy);
    20772077    }
    2078     pLog = RTLogRelDefaultInstance();
     2078    pLog = RTLogRelGetDefaultInstance();
    20792079    if (pLog)
    20802080    {
  • trunk/src/VBox/VMM/VMMR0/VMMR0.def

    r54270 r55980  
    3939    IOMMMIOMapMMIO2Page
    4040    RTLogDefaultInstance
    41     RTLogRelDefaultInstance
     41    RTLogDefaultInstanceEx
     42    RTLogRelGetDefaultInstance
     43    RTLogRelGetDefaultInstanceEx
    4244    RTLogLogger
    4345    RTLogLoggerEx
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