class_docstr: DeepPavlov dialog logging facility.
  
  DialogLogger is an entity which provides tools for dialogs logging.
  
  Args:
      enabled: DialogLogger on/off flag.
      logger_name: Dialog logger name that is used for organising log files.
  
  Attributes:
      logger_name: Dialog logger name which is used for organising log files.
      log_max_size: Maximum size of log file, kb.
      self.log_file: Current log file object.
class_docstr_tok: ["DeepPavlov","dialog","logging","facility",".","DialogLogger","is","an","entity","which","provides","tools","for","dialogs","logging",".","Args",":","enabled",":","DialogLogger","on\/off","flag",".","logger_name",":","Dialog","logger","name","that","is","used","for","organising","log","files",".","Attributes",":","logger_name",":","Dialog","logger","name","which","is","used","for","organising","log","files",".","log_max_size",":","Maximum","size","of","log","file",",","kb",".","self.log_file",":","Current","log","file","object","."]
docstr: Wraps _log method for all output utterances.
  Args:
      utterance: Dialog utterance.
      dialog_id: Dialog ID.
docstr_tok: ["Wraps","_log","method","for","all","output","utterances",".","Args",":","utterance",":","Dialog","utterance",".","dialog_id",":","Dialog","ID","."]
code: def log_out(
      self, utterance: Any, dialog_id: Optional[Hashable] = None
  ) -> None:
      """Wraps _log method for all output utterances.
      Args:
          utterance: Dialog utterance.
          dialog_id: Dialog ID.
      """
      if self.enabled:
          self._log(utterance, "out", dialog_id)
  
file_path: DeepPavlov/deeppavlov/utils/connector/dialog_logger.py
imports: import json
  from datetime import datetime
  from logging import getLogger
  from pathlib import Path
  from typing import Any, Optional, Hashable
  from deeppavlov.core.common.file import read_json
  from deeppavlov.core.common.paths import get_settings_path
  from deeppavlov.core.data.utils import jsonify_data
label_desc: Use image node_id 6 for calling the DialogLogger obj's underlying member method code with example usage: obj.log_out(utterance, dialog_id) without return types