def METHOD_NAME(self, utterance: Any, dialog_id: Optional[Hashable] = None) -> None:
    """Wraps _log method for all input utterances.
    Args:
        utterance: Dialog utterance.
        dialog_id: Dialog ID.
    """
    if self.enabled:
        self._log(utterance, 'in', dialog_id)