Make sure the Logger was included inside the class and not the module