
On Mon, Jun 09, 2008 at 01:46:51PM +0200, Mojmir Svoboda wrote:
there is a dark side of my approach: the user may not pay at the runtime, but certainly he'll suffer at compile-time. what you gain is control of the types passed to logging framework (how many times we all messed a printf's format and arguments? :)
<0.02> I would not consider this a dark side. Enduring long compile cycles seems tenable when optimizing for runtime-performance. Your design sounds appealing to me. I am exactly looking for a small and efficient logging library that provides basic functionality (levels, filters, facilities, filters and alike) and has been designed from scratch to be used in multi-threaded programs. 0.02> Matthias -- Matthias Vallentin vallentin@icsi.berkeley.edu pgp/gpg: 0x37F34C16