anchor.diff:              %% Forward to collaboration message.
               Myself = pnode(),
               psend(Collaborator, {collaborate, From, Myself, Key, Value}),
  -            lager:info("~p: node ~p sent replication request for key ~p with value ~p", [?MODULE, node(), Key, Value]),
  +            partisan_logger:info("~p: node ~p sent replication request for key ~p with value ~p", [?MODULE, node(), Key, Value]),
   
               %% Wait for collaboration ack before proceeding for n-host resilience (n = 2).
               receive
                   {collaborate_ack, From, Key, Value} ->
  -                    lager:info("~p: node ~p ack received for key ~p value ~p", [?MODULE, node(), Key, Value]),
  +                    partisan_logger:info("~p: node ~p ack received for key ~p value ~p", [?MODULE, node(), Key, Value]),
   
                       %% Reply to caller.
                       psend(FromPid, {response, FromRequestId, ok}),
  
positive.code: 
  %% API
  -export([start_link/0,
           write/2,
           read/1,
           update/1]).
  
negative.code: 
  -record(state, {store, membership=[]}).
  
  -define(PB_TIMEOUT,       1000).
  -define(PB_RETRY_TIMEOUT, 100).
  
  