anchor.diff:      gen_event:add_handler(?SERVER, etorrent_file_logger, Args),
       {ok, Pid}.
   
  -started_torrent(Id) ->
  -    gen_event:notify(?SERVER, {started_torrent, Id}).
  -
  -
  -checking_torrent(Id) ->
  -    gen_event:notify(?SERVER, {checking_torrent, Id}).
  -
  -seeding_torrent(Id) ->
  -    gen_event:notify(?SERVER, {seeding_torrent, Id}).
  -
  -persisted_state_to_disk() ->
  -    gen_event:notify(?SERVER, persisted_state_to_disk).
  
positive.code: 
  -define(SERVER, ?MODULE).
  
  %%====================================================================
  %% gen_event callbacks
  %%====================================================================
  %%--------------------------------------------------------------------
  %% Function: start_link() -> {ok,Pid} | {error,Error}
  %% Description: Creates an event manager.
  
negative.code: %%%-------------------------------------------------------------------
  -module(etorrent_event_mgr).
  
  -export([start_link/0,
  
           persisted_state_to_disk/0,
  