VirtualBox

Changeset 55980 in vbox for trunk/src/VBox/Runtime/r3


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r53525 r55980  
    168168            RTLogFlush(pLogger);
    169169
    170         pLogger = RTLogRelDefaultInstance();
     170        pLogger = RTLogRelGetDefaultInstance();
    171171        if (pLogger)
    172172            RTLogFlush(pLogger);
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