Unless of course it's 'I filed IFR, so I logged IFR'.
As MJ indicates, it is exactly that. The requirement is for flight in accordance with the Instrument Flight Rules, whether that flight is by sole reference to instruments or entirely by visual reference is irrelevant. Flight by sole reference to instruments is only mandated within certain approved courses of training - there is little point in recording it at any other time.