[freeciv-ai] Re: rfc: logging
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
Yours
Per
|
|