VirtualBox

Changeset 48575 in vbox for trunk


Ignore:
Timestamp:
Sep 20, 2013 8:39:12 AM (11 years ago)
Author:
vboxsync
Message:

GUI: DarwinKeyboard.cpp: all logging for leds stuff -> Log2(()).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r48517 r48575  
    12291229        rc = IOHIDDeviceSetValue(hidDevice, element, valueRef);
    12301230        if (rc != kIOReturnSuccess)
    1231             LogRelFlow(("Warning! Something went wrong in attempt to turn %s HID device led (error %d)!\n", ((fEnabled) ? "on" : "off"), rc));
     1231            Log2(("Warning! Something went wrong in attempt to turn %s HID device led (error %d)!\n", ((fEnabled) ? "on" : "off"), rc));
    12321232        else
    12331233            Log2(("Led (%d) is turned %s\n", (int)IOHIDElementGetUsage(element), ((fEnabled) ? "on" : "off")));
     
    14311431                    rc = IOHIDManagerClose(hidsState->hidManagerRef, 0);
    14321432                    if (rc != kIOReturnSuccess)
    1433                         LogRelFlow(("Warning! Something went wrong in attempt to close HID device manager!\n"));
     1433                        Log2(("Warning! Something went wrong in attempt to close HID device manager!\n"));
    14341434                }
    14351435
     
    14881488        rc = IOHIDManagerClose(hidsState->hidManagerRef, 0);
    14891489        if (rc != kIOReturnSuccess)
    1490             LogRelFlow(("Warning! Something went wrong in attempt to close HID device manager!\n"));
     1490            Log2(("Warning! Something went wrong in attempt to close HID device manager!\n"));
    14911491
    14921492        CFRelease(hidsState->hidManagerRef);
     
    15591559                rc = IOHIDManagerClose(hidManagerRef, 0);
    15601560                if (rc != kIOReturnSuccess)
    1561                     LogRelFlow(("Warning! Something went wrong in attempt to close HID device manager!\n"));
     1561                    Log2(("Warning! Something went wrong in attempt to close HID device manager!\n"));
    15621562            }
    15631563
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