class_docstr: Log events to a file in json format.
  
  There will be one event per line and each event is stored as json.
class_docstr_tok: ["Log","events","to","a","file","in","json","format",".","There","will","be","one","event","per","line","and","each","event","is","stored","as","json","."]
code: def __init__(self, path: Optional[Text] = None) -> None:
      self.path = path or self.DEFAULT_LOG_FILE_NAME
      self.event_logger = self._event_logger()
  
file_path: rasa/rasa/core/brokers/file.py
imports: import json
  import logging
  import typing
  from asyncio import AbstractEventLoop
  from typing import Optional, Text, Dict
  from rasa.core.brokers.broker import EventBroker
label_desc: Use image node_id 1 to create a new FileEventBroker object from inherited base classes: EventBroker with example: obj = FileEventBroker(path)