Per-class logger

Use per-class logger.