def __init__(self, file_prefix, verbose=True):
self._file_prefix = file_prefix<EOL>self._file_suffix = '<STR_LIT>'<EOL>self._filename = None<EOL>self._recordio_writer = None<EOL>self._num_outstanding_events = <NUM_LIT:0><EOL>self._logger = None<EOL>if verbose:<EOL><INDENT>self._logger = logging.getLogger(__name__)<EOL>self._logger.setLevel(logging.INFO)<EOL><DEDENT>
Events files have a name of the form
'/file/path/events.out.tfevents.[timestamp].[hostname][file_suffix]'