On Wed, Sep 16, 2009 at 1:46 PM, izze euler <[email protected]> wrote:
> Hi,
>
> I want to add some debug messages to the source code, so that I can see what
> the code is doing and where it is going wrong.
>
> I am using
>
> std::cout << "Debug message here" << std::endl;
>

you may find the ll macros easier to use in this case, because they
will go to the console window, the SecondLife.log etc

use :-

llinfos << "Some Message " << llendl;

or

llwarns << "Some more serious message " << llendl;

or

llerrs << "Some fatal i'm killing the client message" << llendl;

Robin
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to