anchor.diff:           open/3,
            log/3,
            log/4,
  -         close/1
  +         close/1,
  +         priority/1,
  +         facility/1,
  +         openlog_opt/1
           ]).
   
   %% gen_server callbacks
  
positive.code: 
  -record(state, {}).
  
  start() ->
      gen_server:start({local, ?MODULE}, ?MODULE, [], []).
  
  start_link() ->
      gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
  
  stop() ->
      gen_server:cast(?MODULE, stop).
  
  open(Ident, Logopt, Facility) ->
      Log = erlang:open_port({spawn, ?DRV_NAME}, [binary]),
  
negative.code: terminate(_Reason, _State) ->
      ok.
  
  code_change(_, State, _) ->
      {ok, State}.
  
  %%% internal functions %%%
  
  
  logopt([Queue]) -> openlog_opt(Queue);
  logopt([Tail|Queue]) ->
  