Rearranged functions. First stab at #contains-log-entry?