VirtualBox

Changeset 81173 in vbox


Ignore:
Timestamp:
Oct 9, 2019 8:59:35 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/VBoxClient: Logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r81060 r81173  
    6868{
    6969    int rc;
    70     LogRelFlowFunc(("u32Format=%d, pv=%p, cb=%d\n", u32Format, pv, cb));
     70    LogFlowFunc(("u32Format=%d, pv=%p, cb=%d\n", u32Format, pv, cb));
    7171    rc = VbglR3ClipboardWriteData(g_ctx.client, u32Format, pv, cb);
    72     LogRelFlowFuncLeaveRC(rc);
     72    LogFlowFuncLeaveRC(rc);
    7373    return rc;
    7474}
     
    9494
    9595    *ppv = 0;
    96     LogRelFlowFunc(("u32Format=%u\n", u32Format));
     96    LogFlowFunc(("u32Format=%u\n", u32Format));
    9797    if (RT_UNLIKELY(!pv))
    9898        rc = VERR_NO_MEMORY;
     
    127127            RTMemFree(pv);
    128128    }
    129     LogRelFlowFuncLeaveRC(rc);
     129    LogFlowFuncLeaveRC(rc);
    130130    if (RT_SUCCESS(rc))
    131         LogRelFlow(("    *pcb=%d\n", *pcb));
     131        LogFlow(("    *pcb=%d\n", *pcb));
    132132    return rc;
    133133}
     
    151151{
    152152    RT_NOREF(pCtx);
    153     LogRelFlowFunc(("u32Formats=%d\n", u32Formats));
     153    LogFlowFunc(("u32Formats=%d\n", u32Formats));
    154154    int rc = VbglR3ClipboardFormatsReport(g_ctx.client, u32Formats);
    155     LogRelFlowFuncLeaveRC(rc);
     155    LogFlowFuncLeaveRC(rc);
    156156}
    157157
     
    212212        ClipDestructX11(g_ctx.pBackend);
    213213
    214     LogRelFlowFuncLeaveRC(rc);
     214    LogFlowFuncLeaveRC(rc);
    215215    return rc;
    216216}
     
    222222{
    223223    int rc;
    224     LogRelFlowFunc(("Starting guest clipboard service\n"));
     224    LogFlowFunc(("Starting guest clipboard service\n"));
    225225    bool fExiting = false;
    226226
     
    240240                     * future requests from guest applications.
    241241                     */
    242                     LogRelFlowFunc(("VBOX_SHCL_HOST_MSG_FORMATS_WRITE fFormats=%x\n", fFormats));
     242                    LogFlowFunc(("VBOX_SHCL_HOST_MSG_FORMATS_WRITE fFormats=%x\n", fFormats));
    243243                    ClipAnnounceFormatToX11(g_ctx.pBackend, fFormats);
    244244                    break;
     
    248248                {
    249249                    /* The host needs data in the specified format. */
    250                     LogRelFlowFunc(("VBOX_SHCL_HOST_MSG_READ_DATA fFormats=%x\n", fFormats));
     250                    LogFlowFunc(("VBOX_SHCL_HOST_MSG_READ_DATA fFormats=%x\n", fFormats));
    251251                    CLIPREADCBREQ *pReq;
    252252                    pReq = (CLIPREADCBREQ *)RTMemAllocZ(sizeof(*pReq));
     
    268268                {
    269269                    /* The host is terminating. */
    270                     LogRelFlowFunc(("VBOX_SHCL_HOST_MSG_QUIT\n"));
     270                    LogFlowFunc(("VBOX_SHCL_HOST_MSG_QUIT\n"));
    271271                    if (RT_SUCCESS(ClipStopX11(g_ctx.pBackend)))
    272272                        ClipDestructX11(g_ctx.pBackend);
     
    283283        }
    284284
    285         LogRelFlow(("processed host event rc = %d\n", rc));
    286     }
    287     LogRelFlowFuncLeaveRC(rc);
     285        LogFlow(("processed host event rc = %d\n", rc));
     286    }
     287    LogFlowFuncLeaveRC(rc);
    288288    return rc;
    289289}
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