anchor.diff:  
   -export([
            use_default_logger/1,
  -         use_custom_logger/1
  +         use_custom_logger/1,
  +         dont_log_empty_line/1,
  +         log_multiline_messages/1,
  +         log_too_long_messages/1
           ]).
   
   all() -> [
             use_default_logger,
  -          use_custom_logger
  +          use_custom_logger,
  +          dont_log_empty_line,
  +          log_multiline_messages,
  +          log_too_long_messages
            ].
   
   
  
positive.code:     ?assertEqual(not_found, syslog:logger(my_logger)),
      ok.
  
  
  %%====================================================================
  open_udp_socket() ->
  
negative.code:     gen_udp:close(Socket).
  
  read_syslog_message(Socket) ->
      case read_syslog_message(Socket, []) of
          []      -> no_udp_packet;
          Packets -> string:join(lists:reverse(Packets), "\n")
      end.
  
  read_syslog_message(Socket, Packets) ->
      receive
          {udp, Socket, _, _, Packet} ->
              read_syslog_message(Socket, [Packet|Packets]);
          {udp_closed, Socket} ->
              exit({error, udp_closed})
      after 100 ->
              Packets
      end.
  
  
  