View Javadoc

1   package org.paneris.jal.model;
2   
3   
4   /**
5    * The minimal log.
6    *
7    */
8   public class Log {
9   
10      public Log()  {
11      }
12      public Log(String name, String description)  {
13      }
14      public void debug(String err)  {
15        System.err.println(err);
16      }
17      public void error(String err)  {
18        System.err.println(err);
19      }
20      public void error(String err, Exception e)  {
21        System.err.println(err + ": " + e.toString());
22      }
23      public void warning(String err)  {
24        System.err.println(err);
25      }
26      public void warning(String err, Exception e)  {
27        System.err.println(err + ": " + e.toString());
28      }
29      public void exception(Exception e)  {
30        System.err.println(e.toString());
31      }
32      public void setTarget(String filename)  {
33      }
34  }