package com.oneliang.test.logging;

import com.oneliang.util.logging.BaseLogger;
import com.oneliang.util.logging.Logger;
import com.oneliang.util.logging.Logger.Level;

public class TestLogger {

	public static void main(String[] args){
		Logger logger=new BaseLogger(Logger.Level.ERROR);
		logger.verbose("verbose");
		logger.debug("debug");
		logger.info("info");
		logger.warning("warning");
		logger.error("error",null);
	}
}

@@ -154,22 +154,23 @@
 g.Logger
-.Level
+Manager
 ;%0A%0Apubli
@@ -196,64 +196,56 @@
 %7B%0A%0A%09
-public static void main(String%5B%5D args)%7B%0A%09%09Logger logger=
+static%7B%0A%09%09LoggerManager.registerLogger(%22com.*%22, 
 new 
@@ -272,15 +272,129 @@
 vel.
+V
 ER
-ROR);
+BOSE));%0A%09%7D%0A%0A%09private static final Logger logger=LoggerManager.getLogger(TestLogger.class);%0A%0A%09public void testLogger()%7B
 %0A%09%09l
@@ -528,11 +528,125 @@
 ull);%0A%09%7D
+%0A%0A%09public static void main(String%5B%5D args)%7B%0A%09%09TestLogger testLogger=new TestLogger();%0A%09%09testLogger.testLogger();%0A%09%7D
 %0A%7D%0A

update TestLogger.java