Tuesday, July 12, 2005

Curse java.util.logging

  1. Where is Logger.getLogger(Class)? Using class.getName() instead of class always seems to run my Logger declarations onto a second line.
  2. Have you seen the level names? SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST? At first I thought you could choose between two different sets of level names. You might as well have SEVERER and SEVEREST. Yuck.
  3. Why is Handler an abstract class and not an interface (with an optional abstract support class)?
I have a sneaking suspicion this is just the tip of the iceberg. I miss log4j. At least it's not clogging. ;)

0 Comments:

Post a Comment

<< Home