VirtualBox

Ignore:
Timestamp:
May 20, 2015 5:35:22 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100489
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/common/misc/assert.cpp

    r48935 r55980  
    146146# endif
    147147
    148         PRTLOGGER pLog = RTLogRelDefaultInstance();
     148        PRTLOGGER pLog = RTLogRelGetDefaultInstance();
    149149        if (pLog)
    150150        {
     
    255255# endif
    256256
    257         PRTLOGGER pLog = RTLogRelDefaultInstance();
     257        PRTLOGGER pLog = RTLogRelGetDefaultInstance();
    258258        if (pLog)
    259259        {
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