Search the web
Sign In
New User? Sign Up
iglance
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Debug logging   Message List  
Reply | Forward Message #115 of 133 |
I want to be able to debug the source code. Can you point me towards
docs on how to use the logging in the code


Found these functions, but I am unclear on how to use them, or the
GINFO or GWARN macros.

LIBPIG_API string GLogFilterGet( );
LIBPIG_API void GLogFilterSet( const string& enable );
LIBPIG_API bool GLogFilterTest( char c );


Thanks

Geoff




Sun Dec 10, 2006 4:46 am

stipend2k
Offline Offline
Send Email Send Email

Forward
Message #115 of 133 |
Expand Messages Author Sort by Date

I want to be able to debug the source code. Can you point me towards docs on how to use the logging in the code Found these functions, but I am unclear on how...
Geoff Smith
stipend2k
Offline Send Email
Dec 10, 2006
6:04 am

The logging functionality uses a "channel" design, so you can enable and disable feature-specific logging at runtime. The macros of interest are: GINFOC( ) -...
David Barrett
quinthar
Offline Send Email
Dec 10, 2006
6:14 am

Thats great David, my question is fully answered :-) Thanks Geoff ... file) ... Behalf...
Geoff Smith
stipend2k
Offline Send Email
Dec 11, 2006
4:47 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help