""Wolfram A. Kraushaar"" <[EMAIL PROTECTED]> said:

> i.e:
> 1 for the very lazy admin
> 2 for normal (production) operation
> 3 and 4 for situations where more verbosity is required
> 5 for debugging, development, troubleshooting et al

And it would be nice if this was reflected in the code, too. Half the time
I'm writing a trace() and can't figure out if it should be TRACE_MESSAGE
or TRACE_INFO or what. Much as I can check the definitions to figure it
out, there's no great consistency throughout the codebase. It's define
thusly in debug.h:

typedef enum {
        TRACE_FATAL = -1,
        TRACE_STOP,
        TRACE_MESSAGE,
        TRACE_ERROR,
        TRACE_WARNING,
        TRACE_INFO,
        TRACE_DEBUG
} trace_t;

Perhaps one of the things we should be doing during the 2.0.x series is
working on administrativa and polish issues like this one.

Aaron

--

Reply via email to