imported from svn
[metux-java.git] / tests / _test_log.java
blob06d848d85ffcadd0332c8f80984949656183847d
2 import org.de.metux.log.*;
4 public class _test_log
6 static public void main(String args[]) throws Exception
8 System.err.println ( "WARNING: unittest for subdir log is NOOP !");
9 // System.err.println ( "Using logger: "+FBriegelLogger.getDefaultLogger() );
10 // System.err.println ( "BRIEGEL_LOGGER="+System.getProperty("BRIEGEL_LOGGER"));
12 // ILogger logger = FBriegelLogger.alloc();
13 //
14 // check_logger_empty();
15 //
16 // if (logger==null)
17 // System.err.println("FOO\n");
18 //
19 // logger.error("PREPARE", "test");
20 // logger.warning("INSTALL", "huhuh");
21 // logger.debug("NAME", "muh");
22 // logger.notice("POSTINSTALL", "aaa");
25 /* test empty logger name */
26 // static public boolean check_logger_empty()
27 // {
28 // IBriegelLogger logger;
29 //
30 // logger = FBriegelLogger.alloc("");
31 // logger.notice ( "PREPARE", "this is the default logger (prepare)" );
32 // logger.error ( "BUILD", "sending 'error' in default logger");
33 // return true;
34 // }