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","."]
docstr: Write event to file.
docstr_tok: ["Write","event","to","file","."]
code: def publish(self, event: Dict) -> None:
      """Write event to file."""
      self.event_logger.info(json.dumps(event))
      self.event_logger.handlers[0].flush()
  
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 3 for calling the FileEventBroker obj's underlying member method code with example usage: obj.publish(event) without return types