Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2002:
[freeciv-ai] Re: rfc: logging

[freeciv-ai] Re: rfc: logging

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: rfc: logging
From: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
Date: Tue, 13 Aug 2002 20:59:41 +0200

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.


[Prev in Thread] Current Thread [Next in Thread]