anchor.diff:  
   -include("ns_log.hrl").
   
  --define(RB_SIZE, 100). % Number of recent log entries
  +-define(RB_SIZE, 3000). % Number of recent log entries
   -define(DUP_TIME, 300000000). % 300 secs in microsecs
   -define(GC_TIME, 60000). % 60 secs in millisecs
   -define(SAVE_DELAY, 5000). % 5 secs in millisecs
  
positive.code:                        [?MODULE, Filename, E]),
                       []
               end,
      {ok, #state{recent=Recent, dedup=dict:new(), filename=Filename}}.
  
  % Request for recent items.
  handle_call(recent, _From, State) ->
      {reply, State#state.recent, State}.
  
  % Inbound logging request.
  handle_cast({log, Module, Code, Fmt, Args}, State = #state{dedup=Dedup}) ->
      Now = erlang:now(),
      Key = {Module, Code, Fmt, Args},
  
negative.code: 
  -include_lib("eunit/include/eunit.hrl").
  
  -record(state, {unique_recent,
                  dedup,
                  save_tref,
                  filename,
                  pending_recent = [],
                  pending_length = 0}).
  
  start_link() ->
      gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
  