01: /*
02: * PermamentLogging.java
03: *
04: * Created on 3. Juli 2004, 15:17
05: */
06:
07: package org.jzonic.jlo;
08:
09: /**
10: *
11: * @author Administrator
12: */
13: public class PermamentLogging {
14:
15: /** Creates a new instance of PermamentLogging */
16: public PermamentLogging() {
17: }
18:
19: /**
20: * @param args the command line arguments
21: */
22: public static void main(String[] args) {
23: Logger logger = LogManager.getLogger("org.jzonic", "demo");
24: Logger logger2 = LogManager.getLogger("org.jzonic.jlo", "demo");
25: Channel channel = LogManager.getChannel("special", "demo");
26: logger.fatal("fatal output");
27: logger2.fatal("fatal output");
28: channel.log("channel output");
29:
30: }
31:
32: }
|