Joern Huxhorn skrev:
A friend of mine is a tutor at TU Darmstadt, teaching very fresh computer science students the very first steps of Java. He thinks, and I agree, that it's a good idea to show them a proper logging framework right ahead so they don't even start putting System.out into their programs. While he's doing the introduction himself right now, it would be nice to have a small explanation about e.g. the meaning of the different levels in addition to the HelloWorld example. The section on the MDC should at least mention that the values are stored per-thread. LOG4J and Logback documentation point this out but SLF4J defines an API on it's own which Logback happens to implement so it's probably the wrong way around...

I know that it's pretty hard to write an introduction for n00bs but your intention should be to "catch them while they are fresh" ;) If they start using java.util.logging and keep using it because it somewhat fits their needs and they "know it" then it's bad for the whole java community. :p
I'm considering to give it a try :)

Would your friend be interested in reviewing such documentation, perhaps even with the intent of providing it to the students?

--
 Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"

_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to