Fixed console logger not writing an endline