/** Creates a new instance of MockReader */
public MockReader() {
}
public LogConfiguration parseConfiguration(String name) throws ReaderException {
LogConfiguration lc = new LogConfiguration("Test");
Handler handler = new MockHandler("Test");
Formatter simpleFormatter = new SimpleFormatter("Test");
LogGenerator lg = new LogGenerator("org.jzonic.jlo", handler, simpleFormatter);
Logger logger = new Logger("org.jzonic.jlo", Target.parse("ALL"),"Test");
logger.addLogGenerator(lg);
lc.addLogger( logger );
Logger seclogger = new Logger("org.jzonic", Target.parse("ALL,!INIT"),"Test");
seclogger.addLogGenerator(lg);
lc.addLogger( seclogger );
Logger thirdlogger = new Logger("org", Target.parse("INIT,FATAL"),"Test");
thirdlogger.addLogGenerator(lg);
lc.addLogger( thirdlogger );
return lc;
}