Example #1
0
 /* pp */ FQNLogger(final String fqnClassName, final String simpleClassName, final Level level) {
   this.impl = Logger.getLogger(fqnClassName);
   this.handler = new PlainLogConsoleHandler(new PlainLogFormatter(simpleClassName), Level.ALL);
   this.impl.setUseParentHandlers(false);
   this.impl.setLevel(level);
   this.impl.addHandler(this.handler);
   this.impl.log(
       Level.INFO,
       "Logging.new: "
           + impl.getName()
           + ": level "
           + level
           + ": obj 0x"
           + Integer.toHexString(impl.hashCode()));
 }