import org.zeropage.log.Logger;
import org.zeropage.log.OutputStreamLogListener;
import org.junit.Before;
import org.junit.Test;

public class LoggerTest {
    Logger logger;

    @Before
    public void setUp() {
        logger = Logger.getInstance();
    }

    @Test
    public void testPrintLogger() throws Exception {
        logger.addListener(new OutputStreamLogListener(System.out));
        logger.error("Test error message");
    }

    // TODO: write down more test code
}

@@ -1,28 +1,65 @@
+import org.zeropage.log.LogListener;%0A
 import org.zeropage.log.Logg
@@ -365,26 +365,55 @@
     
-logger.add
+OutputStreamLogListener outputStreamLog
 Listener
 (new
@@ -408,17 +408,19 @@
 Listener
-(
+ = 
 new Outp
@@ -450,18 +450,138 @@
 tem.out)
-)
 ;
+%0A        outputStreamLogListener.setLevel(LogListener.Level.DEBUG);%0A        logger.addListener(outputStreamLogListener);%0A
 %0A       

modify LoggerTest