blob: bb187bfc2633ba66390baa9105b01867414713b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package ch.asynk;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Main
{
private static Logger logger = null;
public static void main(String [] args )
{
logger = LoggerFactory.getLogger(Main.class);
System.out.println("System.out");
System.err.println("System.err");
logger.trace("trace");
logger.debug("debug");
logger.info("info");
logger.warn("warn");
logger.error("error");
System.exit(0);
}
}
|