Mercurial Hosting > luan
annotate src/goodjava/logger/examples/Min.java @ 1600:8a717f0b7f45
add DailyRollingFileAppender.deleteAfter
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 09 Apr 2021 19:44:14 -0600 |
parents | 219f2b937f2b |
children |
rev | line source |
---|---|
1454 | 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 } |