Add "__contains__" and "lower" methods to the LogField class