Use correct class for logger instance.