View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Abstraction of a log item.
5    *
6    * @author Grégory Borelli
7    */
8   public interface GB_SimpleLogItem
9   {
10      public static abstract class LEVEL
11      {
12          public final static int FINEST = -3;
13          public final static int FINER = -2;
14          public final static int FINE = -1;
15  
16          // auto : not defined
17          // Peut être défini par l'id par exemple
18          public final static int AUTO = 0;
19  
20          public final static int INFO = 1;
21          public final static int CONFIG = 2;
22          public final static int WARNING = 3;
23          public final static int SEVERE = 4;
24      }
25  
26      long getTime();
27  
28      String getId();
29  
30      String getMessage();
31  
32      String getDetails();
33  
34      String getSource();
35  
36      Object[] getParameters();
37  
38      int getLevel();
39  }