anchor.diff:  %%                           type.
   %%      Return:         LogsMap: Maps the  preflist and actual name of
   %%                               the log in the system. dict() type.
  +%%
   -spec open_logs(string(), [preflist()], non_neg_integer(), dict()) ->
       dict() | {error, reason()}.
   open_logs(_LogFile, [], _Initial, Map) ->
  
positive.code: %%              From: Oldest op_id to return
  %%              Filtered: List of filetered operations
  %%      Return: The filtered list of operations
  -spec threshold_prune([op()], atom()) -> [op()].
  threshold_prune([], _From) ->
      [];
  
negative.code: %%    Input:  Log: Table identifier of the log
  %%            LogId: Identifier of the log
  %%    Return: List of all the logged operations
  %%
  -spec get_log(log(), [integer()]) -> [op()] | {error, atom()}.
  get_log(Log, LogId) ->
      dets:lookup(Log, LogId).
  