
19 Mar
2008
19 Mar
'08
6:26 a.m.
On Tue, Mar 18, 2008 at 10:52:45PM +0200, John Torjo wrote:
So, if you have your great simple case, shout!
log(DEBUG, FEATURE_A, "blah"); log(ERROR, FEATURE_B, "blah"); [level, facility] ... It should be possible to influence code generation at compile time, with level and facility being orthogonal. F.ex. if ENABLE_DEBUG_FEATURE_A is *not* defined at compile-time, I do *not* want any code generated for it. (Though, an enabling mechanism other than macros is acceptable, as long as I can stuff it in a single configuration file.)