anchor.diff:                          ok
                   end
               },
  -
               {"test logging works from inside a begin/end block",
                   fun() ->
                           ?assertEqual(0, count()),
  
positive.code: handle_event({log, Level, Time, Message}, #state{level=LogLevel,
          buffer=Buffer} = State) when Level >= LogLevel ->
      {ok, State#state{buffer=Buffer ++ [{Level, Time, Message}]}};
  handle_event(_Event, State) ->
      {ok, State}.
  
  
negative.code: 
  count() ->
      gen_event:call(lager_event, lager_test_backend, count).
  
  count_ignored() ->
      gen_event:call(lager_event, lager_test_backend, count_ignored).
  
  lager_test_() ->
      {foreach,
  