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.

Location:
trunk/src/VBox/HostDrivers/VBoxUSB/solaris
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/solaris/USBLib-solaris.cpp

    r47496 r55980  
    2020*   Header Files                                                               *
    2121*******************************************************************************/
    22 #ifdef DEBUG_ramshankar
    23 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    24 #endif
    2522#include <VBox/usblib.h>
    2623#include <VBox/err.h>
  • 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>
  • trunk/src/VBox/HostDrivers/VBoxUSB/solaris/VBoxUSBMon-solaris.c

    r50630 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 "VBoxUSBFilterMgr.h"
    3632#include <VBox/usblib-solaris.h>
Note: See TracChangeset for help on using the changeset viewer.

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