Inheritance for logger and header