
16 Apr
2004
16 Apr
'04
6:07 a.m.
Pavel Vozenilek wrote:
"John Torjo" <john.lists@torjo.com> wrote
The complexity, though, is in processing which happens after the message
is
send to logger -- checking when message should be printed, adding timestamps, writing to files/syslog, etc.
True. I looked at log4j (for the nth time ;)) I don't like it. It's way too complex.
There's no need for Filter, Layout and a lot of other classes (IMHO).
What I want is to create a simple correspondence from a log_id (a level) into a log function.
Maybe it is possible to design a library which has (by default) this simple interface but allows very fine customization.
That's exactly what I want to do :) Since there seems to be some interest, I'll start working on it in the very near future. Best, John