anchor.diff:      NormalLevel = debug_level(normal),
       ErrorLevel = debug_level(error),
       NumLevel = debug_level(Level),
  -    if 
  +    if
   	NumLevel >= ErrorLevel ->
   	    log_to_stdout(Level, TimeStamp, Format, Arguments, Pid),
   	    log_to_device(State#state.error_iodev, Level, TimeStamp, Format, Arguments, Pid);
  
positive.code: 	_ ->
  	    error
      end.
  
  %%--------------------------------------------------------------------
  %%% Interface functions
  
negative.code: -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
  
  -record(state, {debug_iodev, debug_fn, normal_iodev, normal_fn, error_iodev, error_fn}).
  
  %% needed for file:read_file_info
  -include_lib("kernel/include/file.hrl").
  
  %%====================================================================
  %% External functions
  