class_docstr: Thread that logs events. Copied from
  https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/summary/writer/event_file_writer.py#L133
class_docstr_tok: ["Thread","that","logs","events",".","Copied","from","https",":","\/\/github.com\/tensorflow\/tensorflow\/blob\/master\/tensorflow\/python\/summary\/writer\/event_file_writer.py","#","L133"]
docstr: Creates an _EventLoggerThread.
docstr_tok: ["Creates","an","_EventLoggerThread","."]
code: def __init__(self, queue, ev_writer, flush_secs, sentinel_event):
      """Creates an _EventLoggerThread."""
      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
      self._sentinel_event = sentinel_event
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import os.path
  import socket
  import threading
  import time
  import six
  from .proto import event_pb2
  from .record_writer import RecordWriter
label_desc: Use image node_id 1 to create a new _EventLoggerThread object from inherited base classes: threading with example: obj = _EventLoggerThread(queue, ev_writer, flush_secs, sentinel_event)