Make logger accessible to subclasses.