VirtualBox

Changeset 45934 in vbox for trunk/src


Ignore:
Timestamp:
May 7, 2013 12:50:12 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85574
Message:

VMMR0.cpp/RTAssertMsg2WeakV: Don't instantiate the debug logger, just use it when present. Instead, check for the release logger as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r45829 r45934  
    16381638
    16391639    /*
    1640      * Push the message to the logger.
    1641      */
    1642     PRTLOGGER pLog = RTLogDefaultInstance(); /** @todo we want this for release as well! */
     1640     * Push the message to the loggers.
     1641     */
     1642    PRTLOGGER pLog = RTLogGetDefaultInstance(); /* Don't initialize it here... */
    16431643    if (pLog)
    16441644    {
     
    16471647        va_end(vaCopy);
    16481648    }
     1649    pLog = RTLogRelDefaultInstance();
     1650    if (pLog)
     1651    {
     1652        va_copy(vaCopy, va);
     1653        RTLogFormatV(rtLogOutput, pLog, pszFormat, vaCopy);
     1654        va_end(vaCopy);
     1655    }
    16491656
    16501657    /*
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