{ Level::DEBUG, Level::INFO, Level::WARN, Level::ERROR, Level::FATAL };
{ Level::getDebug(), Level::getInfo(), Level::getWarn(), Level::getError(), Level::getFatal() };
	void neutral()	{		// set up appender		LayoutPtr layout = new SimpleLayout();		AppenderPtr appender = new FileAppender(layout, ACCEPT_FILE, false);		// create LevelMatchFilter		LevelRangeFilterPtr rangeFilter = new LevelRangeFilter();		// set it to accept on a match		rangeFilter->setAcceptOnMatch(true);		// attach match filter to appender		appender->addFilter(rangeFilter);		// set appender on root and set level to debug		root->addAppender(appender);		root->setLevel(Level::DEBUG);		int passCount = 0;		LogString sbuf(LOG4CXX_STR("pass "));                Pool pool;                sbuf.append(StringHelper::toString(passCount, pool));		// test with no min or max set		sbuf.append(LOG4CXX_STR("; no min or max set"));		common(sbuf);		passCount++;		// test with a min set		rangeFilter->setLevelMin(Level::WARN);		sbuf.assign(LOG4CXX_STR("pass "));                sbuf.append(StringHelper::toString(passCount, pool));                sbuf.append(LOG4CXX_STR("; min set to WARN, max not set"));		common(sbuf);		passCount++;		// create a clean filter		appender->clearFilters();		rangeFilter = new LevelRangeFilter();		appender->addFilter(rangeFilter);		//test with max set		rangeFilter->setLevelMax(Level::WARN);		sbuf.append(LOG4CXX_STR("pass "));                sbuf.append(StringHelper::toString(passCount, pool));		sbuf.append(LOG4CXX_STR("; min not set, max set to WARN"));		common(sbuf);		passCount++;		LevelPtr levelArray[] =			{ Level::DEBUG, Level::INFO, Level::WARN, Level::ERROR, Level::FATAL };		int length = sizeof(levelArray)/sizeof(levelArray[0]);		for (int x = 0; x < length; x++)		{			// set the min level to match			rangeFilter->setLevelMin(levelArray[x]);			for (int y = length - 1; y >= 0; y--)			{				// set max level to match				rangeFilter->setLevelMax(levelArray[y]);				sbuf.assign(LOG4CXX_STR("pass "));                                sbuf.append(StringHelper::toString(passCount, pool));				sbuf.append(LOG4CXX_STR("; filter set to accept between "));				sbuf.append(levelArray[x]->toString());                                sbuf.append(LOG4CXX_STR(" and "));                                sbuf.append(levelArray[y]->toString());                                sbuf.append(LOG4CXX_STR(" msgs"));				common(sbuf);				// increment passCount				passCount++;			}		}		CPPUNIT_ASSERT(Compare::compare(NEUTRAL_FILE, NEUTRAL_WITNESS)); 	}