anchor.diff:  -define(ABNORMAL, 0).
   
   -behavior(gen_server).
  --behavior(ns_log_categorizing).
   
   -include("ns_common.hrl").
   
  
positive.code:         false ->
              split_log(Name, tl(L), [hd(L)|M])
      end.
  
  %% ns_log stuff
  
  ns_log_cat(?UNEXPECTED) -> warn.
  
  ns_log_code_string(?UNEXPECTED) -> "unexpected message monitoring port".
  
negative.code:          code_change/3,
           terminate/2]).
  
  -define(NUM_MESSAGES, 3). % Number of the most recent messages to log on crash
  
  -define(UNEXPECTED, 1).
  
  -include_lib("eunit/include/eunit.hrl").
  
  %% Server state
  -record(state, {port, name, messages}).
  
  
  %% API
  