For Content Filters, the manual (8.5) says the Log action can accept Action variables and the $MatchedContent variable appears in the subsequent list of Action variables.
As a Log action can't do too much damage, I'd experiment. If the filter conditions are complex, there might still be some ambiguity.