anchor.diff:  replase_flows(Flows) ->
       gen_server:call(?SERVER, {replase_flows, Flows}).
   
  +%% @doc Update flows configuration in .config file
  +-spec dump_to_config(string()) -> ok | {error, term()}.
   dump_to_config(File) ->
       gen_server:call(?SERVER, {dump_to_config, File}).
   
  +%% @private
   init_loggers() ->
       gen_server:call(?SERVER, init_loggers).
   
  +%% @private
   start_link() ->
       gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
   %%% gen_server callbacks
  +%% @private
   init([]) ->
       EnabledLoggers = alog_config:get_conf(enabled_loggers, []),
       FlowsConfig    = alog_config:get_conf(flows, []),
       {ok, #config{enabled_loggers = EnabledLoggers,
                    flows = parse_flows_config(FlowsConfig)}}.
   
  +%% @private
   handle_call(Request, _From, State) ->
       {Reply, NewState} = do_request(Request, State),
       {reply, Reply, NewState}.
   
  +%% @private
   handle_cast(_Msg, State) ->
       {noreply, State}.
   
  +%% @private
   handle_info(_Info, State) ->
       {noreply, State}.
   
  +%% @private
   terminate(_Reason, #config{enabled_loggers = EnabledLoggers} = Config) ->
       apply_config(Config#config{flows = []}),
   
  
positive.code: 	    Error
      end.
  
  update_terms(Terms, File, Flow) ->
      [[{alog, ListOfConf}]] = Terms,
      WriteToConf = [{alog, new_flow(ListOfConf, Flow)}], 
      write_to_config(WriteToConf, File).
  
  new_flow(ListOfConf, Flow) ->
      new_flow(ListOfConf, [], Flow).
  new_flow([{flows, _}|Other], Acc, Flow) ->
  
negative.code: remove_id([], Acc) ->
      lists:reverse(Acc).
  
  %% @private
  write_to_config(Terms, File) ->
      file:write_file(File,io_lib:fwrite("~p.\n",[Terms])).
  