[Common-dev] I want to log, help please

[Common-dev] I want to log, help please

Greg Wright gwright at real.com
Wed Aug 10 14:41:47 PDT 2005


Did you set up your registry to turn on logging?

    https://common.helixcommunity.org/2005/devdocs/UnifiedLogging

--greg.


Edgar Luevano wrote:
> Dear All,
> I would like to use the log system in the module protocol/sdp I already have
> added the include "hxtlogutil.h"
> and I have added to path to the sdplib:
> 
> project.AddModuleIncludes(  "common/runtime/pub",
> 			    "common/include",
> 			    "common/container/pub",
> 			    "common/dbgtool/pub",
> 			    "common/util/pub",
> 			    "common/system/pub",
> 			    "common/log/logutil/pub")  <--------
> 
> And the library in sdplin:
> project.AddModuleLibraries("protocol/sdp[sdplib]",
>                            "protocol/common/util[protutillib]",
>                            "common/system[syslib]",
>                            "common/util[utillib]",
>                            "common/dbgtool[debuglib]",
>                            "common/container[contlib]",
>                            "common/runtime[runtlib]",
> 				   "common/log/logutil[logutillib]") <----------------
> 
> And I have a HXLOG sentence in the code :
> 
> 	HX_RESULT SDPMediaDescParser::Parse(IHXBuffer* pDescription,
>                                     REF(UINT16) nValues,
>                                     REF(IHXValues**) pValueArray)
> 	{
> 		RDebug::Print(_L("SDPMediaDescParser::Parse --------------> IT
> WORKS!!!!!!!!!!!!!!!!!!!"));
> 		HXLOGL1("--------------> IT WORKS!!!!!!!!!!!!!!!!!!!");
> 		    HX_RESULT theErr = HXR_OK;
> 
> 
> It compiles, but I can't see the message in the hxlog.txt. The program runs
> this part of the code, because I can see
> the RDebug:Print message in the output but not the HXLOG message in the
> file.
> 
> what else is neccesray to do in order to log
> Thank you
> Edgar
> 
> 
> Edgar Luevano
> Dextratech Technologies
> Monterrey, N.L
> Mexico
> +52 82202010
> www.dextratech.com
> 
> 
> _______________________________________________
> Common-dev mailing list
> Common-dev at helixcommunity.org
> http://lists.helixcommunity.org/mailman/listinfo/common-dev
> 



More information about the Common-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.