anchor.diff:  
   -include("ale.hrl").
   
  --record(state, {sinks   :: dict(),
  -                loggers :: dict()}).
  +-record(state, {compile_frozen = false :: boolean(),
  +                sinks                  :: dict(),
  +                loggers                :: dict()}).
   
   -record(logger, {name      :: atom(),
                    loglevel  :: loglevel(),
  
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:                   [{SinkName, SinkId, SinkLogLevel, SinkType} | Acc]
            end, [], Sinks),
  
      ok = ale_codegen:load_logger(LoggerName, LogLevel, Formatter, SinksList).
  
  is_valid_loglevel(LogLevel) ->
      lists:member(LogLevel, ?LOGLEVELS).
  