* Tests LoggingEvent.level.
* @deprecated
*/
public void testLevel() {
Category root = Logger.getRootLogger();
Priority info = Level.INFO;
String catName = Logger.class.toString();
LoggingEvent event =
new LoggingEvent(
catName, root, 0L, info, "Hello, world.", null);
Priority error = Level.ERROR;
event.level = error;
assertEquals(Level.ERROR, event.level);
}