parameters: (self, queue, ev_writer, flush_secs)
docstring: Creates an _EventLoggerThread.
  
      Args:
        queue: A Queue from which to dequeue events.
        ev_writer: An event writer. Used to log brain events for
         the visualizer.
        flush_secs: How often, in seconds, to flush the
          pending file to disk.
docstring_summary: Creates an _EventLoggerThread.
docstring_tokens: Creates an _EventLoggerThread .
function: def __init__(self, queue, ev_writer, flush_secs):
      """Creates an _EventLoggerThread.
  
      Args:
        queue: A Queue from which to dequeue events.
        ev_writer: An event writer. Used to log brain events for
         the visualizer.
        flush_secs: How often, in seconds, to flush the
          pending file to disk.
      """
      threading.Thread.__init__(self)
      self.daemon = True
      self._queue = queue
      self._ev_writer = ev_writer
      self._flush_secs = flush_secs
      # The first event will be flushed immediately.
      self._next_event_flush_time = 0
function_tokens: def __init__ ( self , queue , ev_writer , flush_secs ) : threading . Thread . __init__ ( self ) self . daemon = True self . _queue = queue self . _ev_writer = ev_writer self . _flush_secs = flush_secs # The first event will be flushed immediately. self . _next_event_flush_time = 0