Separated the logger from the core.