anchor.diff:                    [{SinkName, SinkId, SinkLogLevel, SinkType} | Acc]
             end, [], Sinks),
   
  -    ok = ale_codegen:load_logger(LoggerName, LogLevel, Formatter, SinksList),
  -
  -    NewLoggers = dict:store(LoggerName, Logger, Loggers),
  -    State#state{loggers=NewLoggers}.
  +    ok = ale_codegen:load_logger(LoggerName, LogLevel, Formatter, SinksList).
   
   is_valid_loglevel(LogLevel) ->
       lists:member(LogLevel, ?LOGLEVELS).
  
positive.code: 
  start_sink(Name, Module, Args) ->
      gen_server:call(?MODULE, {start_sink, Name, Module:sink_type(), Module, Args}).
  
  stop_sink(Name) ->
      gen_server:call(?MODULE, {stop_sink, Name}).
  
negative.code:     ok = gen_event:add_sup_handler(error_logger, ale_error_logger_handler,
                                     [?ERROR_LOGGER]).
  
  compile(#state{compile_frozen = Frozen,
                 loggers=Loggers} = State,
          #logger{name=LoggerName} = Logger) ->
  
      case Frozen of
          false ->
              just_compile_logger(State, Logger);
          _ ->
              ok
      end,
  
      NewLoggers = dict:store(LoggerName, Logger, Loggers),
      State#state{loggers=NewLoggers}.
  
  just_compile_logger(#state{sinks=SinkTypes} = _State,
                      #logger{name=LoggerName,
                              loglevel=LogLevel,
                              formatter=Formatter,
                              sinks=Sinks} = _Logger) ->
      SinksList =
          dict:fold(
            fun (SinkName,
  