httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: [PATCH] loglevels final?
Date Sun, 27 Jul 1997 21:43:57 GMT
> At 04:07 PM 7/27/97 -0500, Randy wrote:
> >We could just pass these into a variable argument list, but one of 
> >the motivations of this change is to get some control over the 
> >format of the error message. Perhaps someone here knows a way to 
> >get __FILE__, __LINE__ from the calling function, but I don't.
> 
> Make aplog_error a macro?  i.e.
> 
> #define aplog_error(a,b,c) aplog_err(__FILE__, __LINE__, a,b,c)
> 
> but then we couldn't deal with varargs...
> 
> 	Brian

I considered this, but the variable argument list is absolutely 
necessary to replace existing logging functions with one function.




Mime
View raw message