[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: logging enhancements, take 2

> It would be nice if could always use the macro:
>         LDAP_LOG( subsys, level, fmt, ...)  /* preferred */
> or
>         LDAP_LOG(( subsys, level, fmt, ...))

I was planning ultimately on two macros, one for strictly debug
output which would get compiled away for release builds, and
another for error/statistics output which would alway be available
for reporting necessary information.  Similar to what you did on
your data distribution system:

LDAP_DEBUG( subsys, level, fmt, ... ) would go away in release
LDAP_LOG( subsys, level, fmt, ... ) would not