Add class name to criteriamatch start and end logs