httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: [PATCH] loglevels final?
Date Sun, 27 Jul 1997 21:30:04 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


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"Why not?" - TL           brian@organic.com - hyperreal.org - apache.org

Mime
View raw message