[freeciv-ai] Re: rfc: logging
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Aug 13, 2002 at 08:59:41PM +0200, Jordi Negrevernis i Font wrote:
>
>
> Per I. Mathisen wrote:
>
> >In the attached patch I have macros that wrap freelog for more uniform and
> >informative log messages from the AI code. I want some feedback on it. It
> >is not optimal, since you can't add more varargs to it (tried some other
> >variants but none worked well). It should have option to specify your own
> >loglevel but that's secondary.
> >
> >Please suggest something better. We need something like this to get decent
> >logging of the AI and find bugs.
> >
> It would be nice to have the logging system only do logs for a
> specified module or function.
you can. compile with debugging and then use
-d 4 (files, line numbers here)
I forget the specific syntax
-mike
|
|