VirtualBox

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/HostDrivers/VBoxUSB/solaris/VBoxUSB-solaris.c

    r52750 r55980  
    2929*******************************************************************************/
    3030#define LOG_GROUP LOG_GROUP_USB_DRV
    31 #ifdef DEBUG_ramshankar
    32 # define LOG_ENABLED
    33 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    34 #endif
    3531#include <VBox/version.h>
    3632#include <VBox/log.h>
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