Logger is now passed as callback