Mercurial Hosting > luan
annotate src/goodjava/logger/examples/Min.java @ 1799:1578324d2aac
backup logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 22 Feb 2024 08:34:55 -0700 |
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 } |