# File lib/scrubyt/logging.rb, line 143
    def test_that_loggers_can_be_limited_to_specfied_message_levels
      setup_logger_with_faux_output_stream! :ERROR

      Scrubyt.log :ACTION, 'i just did something'
      Scrubyt.log :ERROR, 'something bad happened'

      assert_equal 1, @stream.size
      assert_equal '[ERROR] something bad happened', @stream.first
    end