Pass logger object through