diff src/goodjava/logger/examples/Min.java @ 1454:219f2b937f2b

remove log4j
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 08 Mar 2020 14:11:30 -0600
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/goodjava/logger/examples/Min.java	Sun Mar 08 14:11:30 2020 -0600
@@ -0,0 +1,16 @@
+package goodjava.logger.examples;
+
+import goodjava.logging.Logger;
+import goodjava.logging.LoggerFactory;
+
+
+public class Min {
+	private static final Logger logger = LoggerFactory.getLogger(Min.class);
+
+	public static void main(String[] args) {
+		logger.debug("test debug");
+		logger.info("test info");
+		logger.warn("test warn");
+		logger.error("test error");
+	}
+}