annotate src/goodjava/logger/examples/Min.java @ 1804:b4328322d2be

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 07 May 2024 22:08:37 -0600
parents 219f2b937f2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1454
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 package goodjava.logger.examples;
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 import goodjava.logging.Logger;
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 import goodjava.logging.LoggerFactory;
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 public class Min {
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 private static final Logger logger = LoggerFactory.getLogger(Min.class);
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 public static void main(String[] args) {
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 logger.debug("test debug");
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 logger.info("test info");
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 logger.warn("test warn");
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 logger.error("test error");
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 }
219f2b937f2b remove log4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 }