[AGENT++] Agent++ linyx initialization problem...

Jochen Katz katz at agentpp.com
Thu Jan 27 21:33:54 CET 2005


Hi Fedja,

> Also, When we use that LOG macro, what is the
> meaning of the value that is passed with the log type as in example below:
> LOG_BEGIN(DEBUG_LOG | 1);
> 
> How we should go about selecting the right value at the end? Basically, what
> is a difference between the above line and:
> LOG_BEGIN(DEBUG_LOG | 4);
> besides looking different in the output file?

lower values are more important than higher values. So if you set 
filters using
         DefaultLog::log()->set_filter(XXX_LOG, level);
only messages with a number smaller than level are printed. For 
debugging your problem I suggest setting the level to at least 15.

Regards,
   Jochen



More information about the AGENTPP mailing list