Source code: com/eireneh/util/Level.java
1 package com.eireneh.util;
2
3 /**
4 * This various different levels that people can log at.
5 *
6 * <table border='1' cellPadding='3' cellSpacing='0' width="100%">
7 * <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
8 * Distribution Licence:<br />
9 * Project B is free software; you can redistribute it
10 * and/or modify it under the terms of the GNU General Public License,
11 * version 2 as published by the Free Software Foundation.<br />
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.<br />
16 * The License is available on the internet
17 * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
18 * <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19 * MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
20 * The copyright to this program is held by it's authors.
21 * </font></td></tr></table>
22 * @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
23 * @see docs.Licence
24 * @author Joe Walker
25 */
26 public class Level
27 {
28 /** Log level: emergency */
29 public static final int SEVERE = 1;
30
31 /** Log level: warning */
32 public static final int WARNING = 2;
33
34 /** Log level: info */
35 public static final int CONFIG = 3;
36
37 /** Log level: debug */
38 public static final int INFO = 4;
39
40 /** Log level: debug */
41 public static final int FINE = 5;
42
43 /** Log level: debug */
44 public static final int FINER = 6;
45
46 /** Log level: debug */
47 public static final int FINEST = 7;
48 }