Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
1453:928be2a4d565 | 1454:219f2b937f2b |
---|---|
1 package goodjava.logger.examples; | |
2 | |
3 import goodjava.logging.Logger; | |
4 import goodjava.logging.LoggerFactory; | |
5 | |
6 | |
7 public class Min { | |
8 private static final Logger logger = LoggerFactory.getLogger(Min.class); | |
9 | |
10 public static void main(String[] args) { | |
11 logger.debug("test debug"); | |
12 logger.info("test info"); | |
13 logger.warn("test warn"); | |
14 logger.error("test error"); | |
15 } | |
16 } |