VirtualBox

Changeset 85299 in vbox


Ignore:
Timestamp:
Jul 13, 2020 9:54:05 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139277
Message:

Main/comimpl.xsl: Use Log12 in the MAIN_EVENT group for event constructor/destructor logging. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/comimpl.xsl

    r85298 r85299  
    569569  </xsl:call-template>
    570570  <xsl:value-of select="       '    END_COM_MAP()&#10;'" />
    571   <xsl:value-of select="concat('    ',$implName,'() { /*Log((&quot;',$implName,'\n&quot;))*/;}&#10;')" />
    572   <xsl:value-of select="concat('    virtual ~',$implName,'() { /*Log((&quot;~',$implName,'\n&quot;))*/; uninit(); }&#10;')" />
     571  <xsl:value-of select="concat('    ',$implName,'() { Log12((&quot;',$implName,' %p\n&quot;, this)); }&#10;')" />
     572  <xsl:value-of select="concat('    virtual ~',$implName,'() { Log12((&quot;~',$implName,' %p\n&quot;, this)); uninit(); }&#10;')" />
    573573  <xsl:text><![CDATA[
    574574    HRESULT FinalConstruct()
     
    814814
    815815<xsl:text><![CDATA[
     816#define LOG_GROUP LOG_GROUP_MAIN_EVENT
    816817#include <VBox/com/array.h>
     818#include <VBox/log.h>
    817819#include <iprt/asm.h>
    818 #include "EventImpl.h"
    819820#include "VBoxEvents.h"
     821
    820822]]></xsl:text>
    821823
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